commonMain.aws.sdk.kotlin.services.deadline.DeadlineClient.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deadline-jvm Show documentation
Show all versions of deadline-jvm Show documentation
The AWS SDK for Kotlin client for deadline
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.deadline
import aws.sdk.kotlin.runtime.auth.credentials.DefaultChainCredentialsProvider
import aws.sdk.kotlin.runtime.auth.credentials.internal.manage
import aws.sdk.kotlin.runtime.client.AwsSdkClientConfig
import aws.sdk.kotlin.runtime.config.AbstractAwsSdkClientFactory
import aws.sdk.kotlin.runtime.config.endpoints.resolveEndpointUrl
import aws.sdk.kotlin.runtime.config.profile.AwsProfile
import aws.sdk.kotlin.runtime.config.profile.AwsSharedConfig
import aws.sdk.kotlin.runtime.http.retries.AwsRetryPolicy
import aws.sdk.kotlin.services.deadline.auth.DeadlineAuthSchemeProvider
import aws.sdk.kotlin.services.deadline.auth.DefaultDeadlineAuthSchemeProvider
import aws.sdk.kotlin.services.deadline.endpoints.DeadlineEndpointParameters
import aws.sdk.kotlin.services.deadline.endpoints.DeadlineEndpointProvider
import aws.sdk.kotlin.services.deadline.endpoints.DefaultDeadlineEndpointProvider
import aws.sdk.kotlin.services.deadline.model.AssociateMemberToFarmRequest
import aws.sdk.kotlin.services.deadline.model.AssociateMemberToFarmResponse
import aws.sdk.kotlin.services.deadline.model.AssociateMemberToFleetRequest
import aws.sdk.kotlin.services.deadline.model.AssociateMemberToFleetResponse
import aws.sdk.kotlin.services.deadline.model.AssociateMemberToJobRequest
import aws.sdk.kotlin.services.deadline.model.AssociateMemberToJobResponse
import aws.sdk.kotlin.services.deadline.model.AssociateMemberToQueueRequest
import aws.sdk.kotlin.services.deadline.model.AssociateMemberToQueueResponse
import aws.sdk.kotlin.services.deadline.model.AssumeFleetRoleForReadRequest
import aws.sdk.kotlin.services.deadline.model.AssumeFleetRoleForReadResponse
import aws.sdk.kotlin.services.deadline.model.AssumeFleetRoleForWorkerRequest
import aws.sdk.kotlin.services.deadline.model.AssumeFleetRoleForWorkerResponse
import aws.sdk.kotlin.services.deadline.model.AssumeQueueRoleForReadRequest
import aws.sdk.kotlin.services.deadline.model.AssumeQueueRoleForReadResponse
import aws.sdk.kotlin.services.deadline.model.AssumeQueueRoleForUserRequest
import aws.sdk.kotlin.services.deadline.model.AssumeQueueRoleForUserResponse
import aws.sdk.kotlin.services.deadline.model.AssumeQueueRoleForWorkerRequest
import aws.sdk.kotlin.services.deadline.model.AssumeQueueRoleForWorkerResponse
import aws.sdk.kotlin.services.deadline.model.BatchGetJobEntityRequest
import aws.sdk.kotlin.services.deadline.model.BatchGetJobEntityResponse
import aws.sdk.kotlin.services.deadline.model.CopyJobTemplateRequest
import aws.sdk.kotlin.services.deadline.model.CopyJobTemplateResponse
import aws.sdk.kotlin.services.deadline.model.CreateBudgetRequest
import aws.sdk.kotlin.services.deadline.model.CreateBudgetResponse
import aws.sdk.kotlin.services.deadline.model.CreateFarmRequest
import aws.sdk.kotlin.services.deadline.model.CreateFarmResponse
import aws.sdk.kotlin.services.deadline.model.CreateFleetRequest
import aws.sdk.kotlin.services.deadline.model.CreateFleetResponse
import aws.sdk.kotlin.services.deadline.model.CreateJobRequest
import aws.sdk.kotlin.services.deadline.model.CreateJobResponse
import aws.sdk.kotlin.services.deadline.model.CreateLicenseEndpointRequest
import aws.sdk.kotlin.services.deadline.model.CreateLicenseEndpointResponse
import aws.sdk.kotlin.services.deadline.model.CreateMonitorRequest
import aws.sdk.kotlin.services.deadline.model.CreateMonitorResponse
import aws.sdk.kotlin.services.deadline.model.CreateQueueEnvironmentRequest
import aws.sdk.kotlin.services.deadline.model.CreateQueueEnvironmentResponse
import aws.sdk.kotlin.services.deadline.model.CreateQueueFleetAssociationRequest
import aws.sdk.kotlin.services.deadline.model.CreateQueueFleetAssociationResponse
import aws.sdk.kotlin.services.deadline.model.CreateQueueRequest
import aws.sdk.kotlin.services.deadline.model.CreateQueueResponse
import aws.sdk.kotlin.services.deadline.model.CreateStorageProfileRequest
import aws.sdk.kotlin.services.deadline.model.CreateStorageProfileResponse
import aws.sdk.kotlin.services.deadline.model.CreateWorkerRequest
import aws.sdk.kotlin.services.deadline.model.CreateWorkerResponse
import aws.sdk.kotlin.services.deadline.model.DeleteBudgetRequest
import aws.sdk.kotlin.services.deadline.model.DeleteBudgetResponse
import aws.sdk.kotlin.services.deadline.model.DeleteFarmRequest
import aws.sdk.kotlin.services.deadline.model.DeleteFarmResponse
import aws.sdk.kotlin.services.deadline.model.DeleteFleetRequest
import aws.sdk.kotlin.services.deadline.model.DeleteFleetResponse
import aws.sdk.kotlin.services.deadline.model.DeleteLicenseEndpointRequest
import aws.sdk.kotlin.services.deadline.model.DeleteLicenseEndpointResponse
import aws.sdk.kotlin.services.deadline.model.DeleteMeteredProductRequest
import aws.sdk.kotlin.services.deadline.model.DeleteMeteredProductResponse
import aws.sdk.kotlin.services.deadline.model.DeleteMonitorRequest
import aws.sdk.kotlin.services.deadline.model.DeleteMonitorResponse
import aws.sdk.kotlin.services.deadline.model.DeleteQueueEnvironmentRequest
import aws.sdk.kotlin.services.deadline.model.DeleteQueueEnvironmentResponse
import aws.sdk.kotlin.services.deadline.model.DeleteQueueFleetAssociationRequest
import aws.sdk.kotlin.services.deadline.model.DeleteQueueFleetAssociationResponse
import aws.sdk.kotlin.services.deadline.model.DeleteQueueRequest
import aws.sdk.kotlin.services.deadline.model.DeleteQueueResponse
import aws.sdk.kotlin.services.deadline.model.DeleteStorageProfileRequest
import aws.sdk.kotlin.services.deadline.model.DeleteStorageProfileResponse
import aws.sdk.kotlin.services.deadline.model.DeleteWorkerRequest
import aws.sdk.kotlin.services.deadline.model.DeleteWorkerResponse
import aws.sdk.kotlin.services.deadline.model.DisassociateMemberFromFarmRequest
import aws.sdk.kotlin.services.deadline.model.DisassociateMemberFromFarmResponse
import aws.sdk.kotlin.services.deadline.model.DisassociateMemberFromFleetRequest
import aws.sdk.kotlin.services.deadline.model.DisassociateMemberFromFleetResponse
import aws.sdk.kotlin.services.deadline.model.DisassociateMemberFromJobRequest
import aws.sdk.kotlin.services.deadline.model.DisassociateMemberFromJobResponse
import aws.sdk.kotlin.services.deadline.model.DisassociateMemberFromQueueRequest
import aws.sdk.kotlin.services.deadline.model.DisassociateMemberFromQueueResponse
import aws.sdk.kotlin.services.deadline.model.GetBudgetRequest
import aws.sdk.kotlin.services.deadline.model.GetBudgetResponse
import aws.sdk.kotlin.services.deadline.model.GetFarmRequest
import aws.sdk.kotlin.services.deadline.model.GetFarmResponse
import aws.sdk.kotlin.services.deadline.model.GetFleetRequest
import aws.sdk.kotlin.services.deadline.model.GetFleetResponse
import aws.sdk.kotlin.services.deadline.model.GetJobRequest
import aws.sdk.kotlin.services.deadline.model.GetJobResponse
import aws.sdk.kotlin.services.deadline.model.GetLicenseEndpointRequest
import aws.sdk.kotlin.services.deadline.model.GetLicenseEndpointResponse
import aws.sdk.kotlin.services.deadline.model.GetMonitorRequest
import aws.sdk.kotlin.services.deadline.model.GetMonitorResponse
import aws.sdk.kotlin.services.deadline.model.GetQueueEnvironmentRequest
import aws.sdk.kotlin.services.deadline.model.GetQueueEnvironmentResponse
import aws.sdk.kotlin.services.deadline.model.GetQueueFleetAssociationRequest
import aws.sdk.kotlin.services.deadline.model.GetQueueFleetAssociationResponse
import aws.sdk.kotlin.services.deadline.model.GetQueueRequest
import aws.sdk.kotlin.services.deadline.model.GetQueueResponse
import aws.sdk.kotlin.services.deadline.model.GetSessionActionRequest
import aws.sdk.kotlin.services.deadline.model.GetSessionActionResponse
import aws.sdk.kotlin.services.deadline.model.GetSessionRequest
import aws.sdk.kotlin.services.deadline.model.GetSessionResponse
import aws.sdk.kotlin.services.deadline.model.GetSessionsStatisticsAggregationRequest
import aws.sdk.kotlin.services.deadline.model.GetSessionsStatisticsAggregationResponse
import aws.sdk.kotlin.services.deadline.model.GetStepRequest
import aws.sdk.kotlin.services.deadline.model.GetStepResponse
import aws.sdk.kotlin.services.deadline.model.GetStorageProfileForQueueRequest
import aws.sdk.kotlin.services.deadline.model.GetStorageProfileForQueueResponse
import aws.sdk.kotlin.services.deadline.model.GetStorageProfileRequest
import aws.sdk.kotlin.services.deadline.model.GetStorageProfileResponse
import aws.sdk.kotlin.services.deadline.model.GetTaskRequest
import aws.sdk.kotlin.services.deadline.model.GetTaskResponse
import aws.sdk.kotlin.services.deadline.model.GetWorkerRequest
import aws.sdk.kotlin.services.deadline.model.GetWorkerResponse
import aws.sdk.kotlin.services.deadline.model.ListAvailableMeteredProductsRequest
import aws.sdk.kotlin.services.deadline.model.ListAvailableMeteredProductsResponse
import aws.sdk.kotlin.services.deadline.model.ListBudgetsRequest
import aws.sdk.kotlin.services.deadline.model.ListBudgetsResponse
import aws.sdk.kotlin.services.deadline.model.ListFarmMembersRequest
import aws.sdk.kotlin.services.deadline.model.ListFarmMembersResponse
import aws.sdk.kotlin.services.deadline.model.ListFarmsRequest
import aws.sdk.kotlin.services.deadline.model.ListFarmsResponse
import aws.sdk.kotlin.services.deadline.model.ListFleetMembersRequest
import aws.sdk.kotlin.services.deadline.model.ListFleetMembersResponse
import aws.sdk.kotlin.services.deadline.model.ListFleetsRequest
import aws.sdk.kotlin.services.deadline.model.ListFleetsResponse
import aws.sdk.kotlin.services.deadline.model.ListJobMembersRequest
import aws.sdk.kotlin.services.deadline.model.ListJobMembersResponse
import aws.sdk.kotlin.services.deadline.model.ListJobsRequest
import aws.sdk.kotlin.services.deadline.model.ListJobsResponse
import aws.sdk.kotlin.services.deadline.model.ListLicenseEndpointsRequest
import aws.sdk.kotlin.services.deadline.model.ListLicenseEndpointsResponse
import aws.sdk.kotlin.services.deadline.model.ListMeteredProductsRequest
import aws.sdk.kotlin.services.deadline.model.ListMeteredProductsResponse
import aws.sdk.kotlin.services.deadline.model.ListMonitorsRequest
import aws.sdk.kotlin.services.deadline.model.ListMonitorsResponse
import aws.sdk.kotlin.services.deadline.model.ListQueueEnvironmentsRequest
import aws.sdk.kotlin.services.deadline.model.ListQueueEnvironmentsResponse
import aws.sdk.kotlin.services.deadline.model.ListQueueFleetAssociationsRequest
import aws.sdk.kotlin.services.deadline.model.ListQueueFleetAssociationsResponse
import aws.sdk.kotlin.services.deadline.model.ListQueueMembersRequest
import aws.sdk.kotlin.services.deadline.model.ListQueueMembersResponse
import aws.sdk.kotlin.services.deadline.model.ListQueuesRequest
import aws.sdk.kotlin.services.deadline.model.ListQueuesResponse
import aws.sdk.kotlin.services.deadline.model.ListSessionActionsRequest
import aws.sdk.kotlin.services.deadline.model.ListSessionActionsResponse
import aws.sdk.kotlin.services.deadline.model.ListSessionsForWorkerRequest
import aws.sdk.kotlin.services.deadline.model.ListSessionsForWorkerResponse
import aws.sdk.kotlin.services.deadline.model.ListSessionsRequest
import aws.sdk.kotlin.services.deadline.model.ListSessionsResponse
import aws.sdk.kotlin.services.deadline.model.ListStepConsumersRequest
import aws.sdk.kotlin.services.deadline.model.ListStepConsumersResponse
import aws.sdk.kotlin.services.deadline.model.ListStepDependenciesRequest
import aws.sdk.kotlin.services.deadline.model.ListStepDependenciesResponse
import aws.sdk.kotlin.services.deadline.model.ListStepsRequest
import aws.sdk.kotlin.services.deadline.model.ListStepsResponse
import aws.sdk.kotlin.services.deadline.model.ListStorageProfilesForQueueRequest
import aws.sdk.kotlin.services.deadline.model.ListStorageProfilesForQueueResponse
import aws.sdk.kotlin.services.deadline.model.ListStorageProfilesRequest
import aws.sdk.kotlin.services.deadline.model.ListStorageProfilesResponse
import aws.sdk.kotlin.services.deadline.model.ListTagsForResourceRequest
import aws.sdk.kotlin.services.deadline.model.ListTagsForResourceResponse
import aws.sdk.kotlin.services.deadline.model.ListTasksRequest
import aws.sdk.kotlin.services.deadline.model.ListTasksResponse
import aws.sdk.kotlin.services.deadline.model.ListWorkersRequest
import aws.sdk.kotlin.services.deadline.model.ListWorkersResponse
import aws.sdk.kotlin.services.deadline.model.PutMeteredProductRequest
import aws.sdk.kotlin.services.deadline.model.PutMeteredProductResponse
import aws.sdk.kotlin.services.deadline.model.SearchJobsRequest
import aws.sdk.kotlin.services.deadline.model.SearchJobsResponse
import aws.sdk.kotlin.services.deadline.model.SearchStepsRequest
import aws.sdk.kotlin.services.deadline.model.SearchStepsResponse
import aws.sdk.kotlin.services.deadline.model.SearchTasksRequest
import aws.sdk.kotlin.services.deadline.model.SearchTasksResponse
import aws.sdk.kotlin.services.deadline.model.SearchWorkersRequest
import aws.sdk.kotlin.services.deadline.model.SearchWorkersResponse
import aws.sdk.kotlin.services.deadline.model.StartSessionsStatisticsAggregationRequest
import aws.sdk.kotlin.services.deadline.model.StartSessionsStatisticsAggregationResponse
import aws.sdk.kotlin.services.deadline.model.TagResourceRequest
import aws.sdk.kotlin.services.deadline.model.TagResourceResponse
import aws.sdk.kotlin.services.deadline.model.UntagResourceRequest
import aws.sdk.kotlin.services.deadline.model.UntagResourceResponse
import aws.sdk.kotlin.services.deadline.model.UpdateBudgetRequest
import aws.sdk.kotlin.services.deadline.model.UpdateBudgetResponse
import aws.sdk.kotlin.services.deadline.model.UpdateFarmRequest
import aws.sdk.kotlin.services.deadline.model.UpdateFarmResponse
import aws.sdk.kotlin.services.deadline.model.UpdateFleetRequest
import aws.sdk.kotlin.services.deadline.model.UpdateFleetResponse
import aws.sdk.kotlin.services.deadline.model.UpdateJobRequest
import aws.sdk.kotlin.services.deadline.model.UpdateJobResponse
import aws.sdk.kotlin.services.deadline.model.UpdateMonitorRequest
import aws.sdk.kotlin.services.deadline.model.UpdateMonitorResponse
import aws.sdk.kotlin.services.deadline.model.UpdateQueueEnvironmentRequest
import aws.sdk.kotlin.services.deadline.model.UpdateQueueEnvironmentResponse
import aws.sdk.kotlin.services.deadline.model.UpdateQueueFleetAssociationRequest
import aws.sdk.kotlin.services.deadline.model.UpdateQueueFleetAssociationResponse
import aws.sdk.kotlin.services.deadline.model.UpdateQueueRequest
import aws.sdk.kotlin.services.deadline.model.UpdateQueueResponse
import aws.sdk.kotlin.services.deadline.model.UpdateSessionRequest
import aws.sdk.kotlin.services.deadline.model.UpdateSessionResponse
import aws.sdk.kotlin.services.deadline.model.UpdateStepRequest
import aws.sdk.kotlin.services.deadline.model.UpdateStepResponse
import aws.sdk.kotlin.services.deadline.model.UpdateStorageProfileRequest
import aws.sdk.kotlin.services.deadline.model.UpdateStorageProfileResponse
import aws.sdk.kotlin.services.deadline.model.UpdateTaskRequest
import aws.sdk.kotlin.services.deadline.model.UpdateTaskResponse
import aws.sdk.kotlin.services.deadline.model.UpdateWorkerRequest
import aws.sdk.kotlin.services.deadline.model.UpdateWorkerResponse
import aws.sdk.kotlin.services.deadline.model.UpdateWorkerScheduleRequest
import aws.sdk.kotlin.services.deadline.model.UpdateWorkerScheduleResponse
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProvider
import aws.smithy.kotlin.runtime.auth.awscredentials.CredentialsProviderConfig
import aws.smithy.kotlin.runtime.awsprotocol.ClockSkewInterceptor
import aws.smithy.kotlin.runtime.client.AbstractSdkClientBuilder
import aws.smithy.kotlin.runtime.client.AbstractSdkClientFactory
import aws.smithy.kotlin.runtime.client.IdempotencyTokenConfig
import aws.smithy.kotlin.runtime.client.IdempotencyTokenProvider
import aws.smithy.kotlin.runtime.client.LogMode
import aws.smithy.kotlin.runtime.client.RetryClientConfig
import aws.smithy.kotlin.runtime.client.RetryStrategyClientConfig
import aws.smithy.kotlin.runtime.client.RetryStrategyClientConfigImpl
import aws.smithy.kotlin.runtime.client.SdkClient
import aws.smithy.kotlin.runtime.client.SdkClientConfig
import aws.smithy.kotlin.runtime.http.auth.AuthScheme
import aws.smithy.kotlin.runtime.http.auth.HttpAuthConfig
import aws.smithy.kotlin.runtime.http.config.HttpClientConfig
import aws.smithy.kotlin.runtime.http.config.HttpEngineConfig
import aws.smithy.kotlin.runtime.http.engine.HttpClientEngine
import aws.smithy.kotlin.runtime.http.engine.HttpEngineConfigImpl
import aws.smithy.kotlin.runtime.http.interceptors.HttpInterceptor
import aws.smithy.kotlin.runtime.net.url.Url
import aws.smithy.kotlin.runtime.retries.RetryStrategy
import aws.smithy.kotlin.runtime.retries.policy.RetryPolicy
import aws.smithy.kotlin.runtime.telemetry.Global
import aws.smithy.kotlin.runtime.telemetry.TelemetryConfig
import aws.smithy.kotlin.runtime.telemetry.TelemetryProvider
import aws.smithy.kotlin.runtime.util.LazyAsyncValue
import kotlin.collections.List
import kotlin.jvm.JvmStatic
public const val ServiceId: String = "deadline"
public const val SdkVersion: String = "1.3.37"
public const val ServiceApiVersion: String = "2023-10-12"
/**
* The Amazon Web Services Deadline Cloud API provides infrastructure and centralized management for your projects. Use the Deadline Cloud API to onboard users, assign projects, and attach permissions specific to their job function.
*
* With Deadline Cloud, content production teams can deploy resources for their workforce securely in the cloud, reducing the costs of added physical infrastructure. Keep your content production operations secure, while allowing your contributors to access the tools they need, such as scalable high-speed storage, licenses, and cost management services.
*/
public interface DeadlineClient : SdkClient {
/**
* DeadlineClient's configuration
*/
public override val config: Config
public companion object : AbstractAwsSdkClientFactory()
{
@JvmStatic
override fun builder(): Builder = Builder()
override fun finalizeConfig(builder: Builder) {
super.finalizeConfig(builder)
builder.config.interceptors.add(0, ClockSkewInterceptor())
}
override suspend fun finalizeEnvironmentalConfig(builder: Builder, sharedConfig: LazyAsyncValue, activeProfile: LazyAsyncValue) {
super.finalizeEnvironmentalConfig(builder, sharedConfig, activeProfile)
builder.config.endpointUrl = builder.config.endpointUrl ?: resolveEndpointUrl(
sharedConfig,
"Deadline",
"DEADLINE",
"deadline",
)
}
}
public class Builder internal constructor(): AbstractSdkClientBuilder() {
override val config: Config.Builder = Config.Builder()
override fun newClient(config: Config): DeadlineClient = DefaultDeadlineClient(config)
}
public class Config private constructor(builder: Builder) : AwsSdkClientConfig, CredentialsProviderConfig, HttpAuthConfig, HttpClientConfig, HttpEngineConfig by builder.buildHttpEngineConfig(), IdempotencyTokenConfig, RetryClientConfig, RetryStrategyClientConfig by builder.buildRetryStrategyClientConfig(), SdkClientConfig, TelemetryConfig {
override val clientName: String = builder.clientName
override val region: String? = builder.region
override val authSchemes: kotlin.collections.List = builder.authSchemes
override val credentialsProvider: CredentialsProvider = builder.credentialsProvider ?: DefaultChainCredentialsProvider(httpClient = httpClient, region = region).manage()
public val endpointProvider: DeadlineEndpointProvider = builder.endpointProvider ?: DefaultDeadlineEndpointProvider()
public val endpointUrl: Url? = builder.endpointUrl
override val idempotencyTokenProvider: IdempotencyTokenProvider = builder.idempotencyTokenProvider ?: IdempotencyTokenProvider.Default
override val interceptors: kotlin.collections.List = builder.interceptors
override val logMode: LogMode = builder.logMode ?: LogMode.Default
override val retryPolicy: RetryPolicy = builder.retryPolicy ?: AwsRetryPolicy.Default
override val telemetryProvider: TelemetryProvider = builder.telemetryProvider ?: TelemetryProvider.Global
override val useDualStack: Boolean = builder.useDualStack ?: false
override val useFips: Boolean = builder.useFips ?: false
override val applicationId: String? = builder.applicationId
public val authSchemeProvider: DeadlineAuthSchemeProvider = builder.authSchemeProvider ?: DefaultDeadlineAuthSchemeProvider()
public companion object {
public inline operator fun invoke(block: Builder.() -> kotlin.Unit): Config = Builder().apply(block).build()
}
public fun toBuilder(): Builder = Builder().apply {
clientName = [email protected]
region = [email protected]
authSchemes = [email protected]
credentialsProvider = [email protected]
endpointProvider = [email protected]
endpointUrl = [email protected]
httpClient = [email protected]
idempotencyTokenProvider = [email protected]
interceptors = [email protected]()
logMode = [email protected]
retryPolicy = [email protected]
retryStrategy = [email protected]
telemetryProvider = [email protected]
useDualStack = [email protected]
useFips = [email protected]
applicationId = [email protected]
authSchemeProvider = [email protected]
}
public class Builder : AwsSdkClientConfig.Builder, CredentialsProviderConfig.Builder, HttpAuthConfig.Builder, HttpClientConfig.Builder, HttpEngineConfig.Builder by HttpEngineConfigImpl.BuilderImpl(), IdempotencyTokenConfig.Builder, RetryClientConfig.Builder, RetryStrategyClientConfig.Builder by RetryStrategyClientConfigImpl.BuilderImpl(), SdkClientConfig.Builder, TelemetryConfig.Builder {
/**
* A reader-friendly name for the client.
*/
override var clientName: String = "deadline"
/**
* The AWS region (e.g. `us-west-2`) to make requests to. See about AWS
* [global infrastructure](https://aws.amazon.com/about-aws/global-infrastructure/regions_az/) for more
* information
*/
override var region: String? = null
/**
* Register new or override default [AuthScheme]s configured for this client. By default, the set
* of auth schemes configured comes from the service model. An auth scheme configured explicitly takes
* precedence over the defaults and can be used to customize identity resolution and signing for specific
* authentication schemes.
*/
override var authSchemes: kotlin.collections.List = emptyList()
/**
* The AWS credentials provider to use for authenticating requests. If not provided a
* [aws.sdk.kotlin.runtime.auth.credentials.DefaultChainCredentialsProvider] instance will be used.
* NOTE: The caller is responsible for managing the lifetime of the provider when set. The SDK
* client will not close it when the client is closed.
*/
override var credentialsProvider: CredentialsProvider? = null
/**
* The endpoint provider used to determine where to make service requests. **This is an advanced config
* option.**
*
* Endpoint resolution occurs as part of the workflow for every request made via the service client.
*
* The inputs to endpoint resolution are defined on a per-service basis (see [EndpointParameters]).
*/
public var endpointProvider: DeadlineEndpointProvider? = null
/**
* A custom endpoint to route requests to. The endpoint set here is passed to the configured
* [endpointProvider], which may inspect and modify it as needed.
*
* Setting a custom endpointUrl should generally be preferred to overriding the [endpointProvider] and is
* the recommended way to route requests to development or preview instances of a service.
*
* **This is an advanced config option.**
*/
public var endpointUrl: Url? = null
/**
* Override the default idempotency token generator. SDK clients will generate tokens for members
* that represent idempotent tokens when not explicitly set by the caller using this generator.
*/
override var idempotencyTokenProvider: IdempotencyTokenProvider? = null
/**
* Add an [aws.smithy.kotlin.runtime.client.Interceptor] that will have access to read and modify
* the request and response objects as they are processed by the SDK.
* Interceptors added using this method are executed in the order they are configured and are always
* later than any added automatically by the SDK.
*/
override var interceptors: kotlin.collections.MutableList = kotlin.collections.mutableListOf()
/**
* Configure events that will be logged. By default clients will not output
* raw requests or responses. Use this setting to opt-in to additional debug logging.
*
* This can be used to configure logging of requests, responses, retries, etc of SDK clients.
*
* **NOTE**: Logging of raw requests or responses may leak sensitive information! It may also have
* performance considerations when dumping the request/response body. This is primarily a tool for
* debug purposes.
*/
override var logMode: LogMode? = null
/**
* The policy to use for evaluating operation results and determining whether/how to retry.
*/
override var retryPolicy: RetryPolicy? = null
/**
* The telemetry provider used to instrument the SDK operations with. By default, the global telemetry
* provider will be used.
*/
override var telemetryProvider: TelemetryProvider? = null
/**
* Flag to toggle whether to use dual-stack endpoints when making requests.
* See [https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html] for more information.
* ` Disabled by default.
*/
override var useDualStack: Boolean? = null
/**
* Flag to toggle whether to use [FIPS](https://aws.amazon.com/compliance/fips/) endpoints when making requests.
* ` Disabled by default.
*/
override var useFips: Boolean? = null
/**
* An optional application specific identifier.
* When set it will be appended to the User-Agent header of every request in the form of: `app/{applicationId}`.
* When not explicitly set, the value will be loaded from the following locations:
*
* - JVM System Property: `aws.userAgentAppId`
* - Environment variable: `AWS_SDK_UA_APP_ID`
* - Shared configuration profile attribute: `sdk_ua_app_id`
*
* See [shared configuration settings](https://docs.aws.amazon.com/sdkref/latest/guide/settings-reference.html)
* reference for more information on environment variables and shared config settings.
*/
override var applicationId: String? = null
/**
* Configure the provider used to resolve the authentication scheme to use for a particular operation.
*/
public var authSchemeProvider: DeadlineAuthSchemeProvider? = null
override fun build(): Config = Config(this)
}
}
/**
* Assigns a farm membership level to a member.
*/
public suspend fun associateMemberToFarm(input: AssociateMemberToFarmRequest): AssociateMemberToFarmResponse
/**
* Assigns a fleet membership level to a member.
*/
public suspend fun associateMemberToFleet(input: AssociateMemberToFleetRequest): AssociateMemberToFleetResponse
/**
* Assigns a job membership level to a member
*/
public suspend fun associateMemberToJob(input: AssociateMemberToJobRequest): AssociateMemberToJobResponse
/**
* Assigns a queue membership level to a member
*/
public suspend fun associateMemberToQueue(input: AssociateMemberToQueueRequest): AssociateMemberToQueueResponse
/**
* Get Amazon Web Services credentials from the fleet role. The IAM permissions of the credentials are scoped down to have read-only access.
*/
public suspend fun assumeFleetRoleForRead(input: AssumeFleetRoleForReadRequest): AssumeFleetRoleForReadResponse
/**
* Get credentials from the fleet role for a worker.
*/
public suspend fun assumeFleetRoleForWorker(input: AssumeFleetRoleForWorkerRequest): AssumeFleetRoleForWorkerResponse
/**
* Gets Amazon Web Services credentials from the queue role. The IAM permissions of the credentials are scoped down to have read-only access.
*/
public suspend fun assumeQueueRoleForRead(input: AssumeQueueRoleForReadRequest): AssumeQueueRoleForReadResponse
/**
* Allows a user to assume a role for a queue.
*/
public suspend fun assumeQueueRoleForUser(input: AssumeQueueRoleForUserRequest): AssumeQueueRoleForUserResponse
/**
* Allows a worker to assume a queue role.
*/
public suspend fun assumeQueueRoleForWorker(input: AssumeQueueRoleForWorkerRequest): AssumeQueueRoleForWorkerResponse
/**
* Get batched job details for a worker.
*/
public suspend fun batchGetJobEntity(input: BatchGetJobEntityRequest): BatchGetJobEntityResponse
/**
* Copies a job template to an Amazon S3 bucket.
*/
public suspend fun copyJobTemplate(input: CopyJobTemplateRequest): CopyJobTemplateResponse
/**
* Creates a budget to set spending thresholds for your rendering activity.
*/
public suspend fun createBudget(input: CreateBudgetRequest): CreateBudgetResponse
/**
* Creates a farm to allow space for queues and fleets. Farms are the space where the components of your renders gather and are pieced together in the cloud. Farms contain budgets and allow you to enforce permissions. Deadline Cloud farms are a useful container for large projects.
*/
public suspend fun createFarm(input: CreateFarmRequest): CreateFarmResponse
/**
* Creates a fleet. Fleets gather information relating to compute, or capacity, for renders within your farms. You can choose to manage your own capacity or opt to have fleets fully managed by Deadline Cloud.
*/
public suspend fun createFleet(input: CreateFleetRequest): CreateFleetResponse
/**
* Creates a job. A job is a set of instructions that AWS Deadline Cloud uses to schedule and run work on available workers. For more information, see [Deadline Cloud jobs](https://docs.aws.amazon.com/deadline-cloud/latest/userguide/deadline-cloud-jobs.html).
*/
public suspend fun createJob(input: CreateJobRequest): CreateJobResponse
/**
* Creates a license endpoint to integrate your various licensed software used for rendering on Deadline Cloud.
*/
public suspend fun createLicenseEndpoint(input: CreateLicenseEndpointRequest): CreateLicenseEndpointResponse
/**
* Creates an Amazon Web Services Deadline Cloud monitor that you can use to view your farms, queues, and fleets. After you submit a job, you can track the progress of the tasks and steps that make up the job, and then download the job's results.
*/
public suspend fun createMonitor(input: CreateMonitorRequest): CreateMonitorResponse
/**
* Creates a queue to coordinate the order in which jobs run on a farm. A queue can also specify where to pull resources and indicate where to output completed jobs.
*/
public suspend fun createQueue(input: CreateQueueRequest): CreateQueueResponse
/**
* Creates an environment for a queue that defines how jobs in the queue run.
*/
public suspend fun createQueueEnvironment(input: CreateQueueEnvironmentRequest): CreateQueueEnvironmentResponse
/**
* Creates an association between a queue and a fleet.
*/
public suspend fun createQueueFleetAssociation(input: CreateQueueFleetAssociationRequest): CreateQueueFleetAssociationResponse
/**
* Creates a storage profile that specifies the operating system, file type, and file location of resources used on a farm.
*/
public suspend fun createStorageProfile(input: CreateStorageProfileRequest): CreateStorageProfileResponse
/**
* Creates a worker. A worker tells your instance how much processing power (vCPU), and memory (GiB) you’ll need to assemble the digital assets held within a particular instance. You can specify certain instance types to use, or let the worker know which instances types to exclude.
*/
public suspend fun createWorker(input: CreateWorkerRequest): CreateWorkerResponse
/**
* Deletes a budget.
*/
public suspend fun deleteBudget(input: DeleteBudgetRequest): DeleteBudgetResponse
/**
* Deletes a farm.
*/
public suspend fun deleteFarm(input: DeleteFarmRequest): DeleteFarmResponse
/**
* Deletes a fleet.
*/
public suspend fun deleteFleet(input: DeleteFleetRequest): DeleteFleetResponse
/**
* Deletes a license endpoint.
*/
public suspend fun deleteLicenseEndpoint(input: DeleteLicenseEndpointRequest): DeleteLicenseEndpointResponse
/**
* Deletes a metered product.
*/
public suspend fun deleteMeteredProduct(input: DeleteMeteredProductRequest): DeleteMeteredProductResponse
/**
* Removes a Deadline Cloud monitor. After you delete a monitor, you can create a new one and attach farms to the monitor.
*/
public suspend fun deleteMonitor(input: DeleteMonitorRequest): DeleteMonitorResponse
/**
* Deletes a queue.
*
* You can't recover the jobs in a queue if you delete the queue. Deleting the queue also deletes the jobs in that queue.
*/
public suspend fun deleteQueue(input: DeleteQueueRequest): DeleteQueueResponse
/**
* Deletes a queue environment.
*/
public suspend fun deleteQueueEnvironment(input: DeleteQueueEnvironmentRequest): DeleteQueueEnvironmentResponse
/**
* Deletes a queue-fleet association.
*/
public suspend fun deleteQueueFleetAssociation(input: DeleteQueueFleetAssociationRequest): DeleteQueueFleetAssociationResponse
/**
* Deletes a storage profile.
*/
public suspend fun deleteStorageProfile(input: DeleteStorageProfileRequest): DeleteStorageProfileResponse
/**
* Deletes a worker.
*/
public suspend fun deleteWorker(input: DeleteWorkerRequest): DeleteWorkerResponse
/**
* Disassociates a member from a farm.
*/
public suspend fun disassociateMemberFromFarm(input: DisassociateMemberFromFarmRequest): DisassociateMemberFromFarmResponse
/**
* Disassociates a member from a fleet.
*/
public suspend fun disassociateMemberFromFleet(input: DisassociateMemberFromFleetRequest): DisassociateMemberFromFleetResponse
/**
* Disassociates a member from a job.
*/
public suspend fun disassociateMemberFromJob(input: DisassociateMemberFromJobRequest): DisassociateMemberFromJobResponse
/**
* Disassociates a member from a queue.
*/
public suspend fun disassociateMemberFromQueue(input: DisassociateMemberFromQueueRequest): DisassociateMemberFromQueueResponse
/**
* Get a budget.
*/
public suspend fun getBudget(input: GetBudgetRequest): GetBudgetResponse
/**
* Get a farm.
*/
public suspend fun getFarm(input: GetFarmRequest): GetFarmResponse
/**
* Get a fleet.
*/
public suspend fun getFleet(input: GetFleetRequest): GetFleetResponse
/**
* Gets a Deadline Cloud job.
*/
public suspend fun getJob(input: GetJobRequest): GetJobResponse
/**
* Gets a licence endpoint.
*/
public suspend fun getLicenseEndpoint(input: GetLicenseEndpointRequest): GetLicenseEndpointResponse
/**
* Gets information about the specified monitor.
*/
public suspend fun getMonitor(input: GetMonitorRequest): GetMonitorResponse
/**
* Gets a queue.
*/
public suspend fun getQueue(input: GetQueueRequest): GetQueueResponse
/**
* Gets a queue environment.
*/
public suspend fun getQueueEnvironment(input: GetQueueEnvironmentRequest): GetQueueEnvironmentResponse
/**
* Gets a queue-fleet association.
*/
public suspend fun getQueueFleetAssociation(input: GetQueueFleetAssociationRequest): GetQueueFleetAssociationResponse
/**
* Gets a session.
*/
public suspend fun getSession(input: GetSessionRequest): GetSessionResponse
/**
* Gets a session action for the job.
*/
public suspend fun getSessionAction(input: GetSessionActionRequest): GetSessionActionResponse
/**
* Gets a set of statistics for queues or farms. Before you can call the `GetSessionStatisticsAggregation` operation, you must first call the `StartSessionsStatisticsAggregation` operation. Statistics are available for 1 hour after you call the `StartSessionsStatisticsAggregation` operation.
*/
public suspend fun getSessionsStatisticsAggregation(input: GetSessionsStatisticsAggregationRequest): GetSessionsStatisticsAggregationResponse
/**
* Gets a step.
*/
public suspend fun getStep(input: GetStepRequest): GetStepResponse
/**
* Gets a storage profile.
*/
public suspend fun getStorageProfile(input: GetStorageProfileRequest): GetStorageProfileResponse
/**
* Gets a storage profile for a queue.
*/
public suspend fun getStorageProfileForQueue(input: GetStorageProfileForQueueRequest): GetStorageProfileForQueueResponse
/**
* Gets a task.
*/
public suspend fun getTask(input: GetTaskRequest): GetTaskResponse
/**
* Gets a worker.
*/
public suspend fun getWorker(input: GetWorkerRequest): GetWorkerResponse
/**
* A list of the available metered products.
*/
public suspend fun listAvailableMeteredProducts(input: ListAvailableMeteredProductsRequest = ListAvailableMeteredProductsRequest { }): ListAvailableMeteredProductsResponse
/**
* A list of budgets in a farm.
*/
public suspend fun listBudgets(input: ListBudgetsRequest): ListBudgetsResponse
/**
* Lists the members of a farm.
*/
public suspend fun listFarmMembers(input: ListFarmMembersRequest): ListFarmMembersResponse
/**
* Lists farms.
*/
public suspend fun listFarms(input: ListFarmsRequest = ListFarmsRequest { }): ListFarmsResponse
/**
* Lists fleet members.
*/
public suspend fun listFleetMembers(input: ListFleetMembersRequest): ListFleetMembersResponse
/**
* Lists fleets.
*/
public suspend fun listFleets(input: ListFleetsRequest): ListFleetsResponse
/**
* Lists members on a job.
*/
public suspend fun listJobMembers(input: ListJobMembersRequest): ListJobMembersResponse
/**
* Lists jobs.
*/
public suspend fun listJobs(input: ListJobsRequest): ListJobsResponse
/**
* Lists license endpoints.
*/
public suspend fun listLicenseEndpoints(input: ListLicenseEndpointsRequest = ListLicenseEndpointsRequest { }): ListLicenseEndpointsResponse
/**
* Lists metered products.
*/
public suspend fun listMeteredProducts(input: ListMeteredProductsRequest): ListMeteredProductsResponse
/**
* Gets a list of your monitors in Deadline Cloud.
*/
public suspend fun listMonitors(input: ListMonitorsRequest = ListMonitorsRequest { }): ListMonitorsResponse
/**
* Lists queue environments.
*/
public suspend fun listQueueEnvironments(input: ListQueueEnvironmentsRequest): ListQueueEnvironmentsResponse
/**
* Lists queue-fleet associations.
*/
public suspend fun listQueueFleetAssociations(input: ListQueueFleetAssociationsRequest): ListQueueFleetAssociationsResponse
/**
* Lists the members in a queue.
*/
public suspend fun listQueueMembers(input: ListQueueMembersRequest): ListQueueMembersResponse
/**
* Lists queues.
*/
public suspend fun listQueues(input: ListQueuesRequest): ListQueuesResponse
/**
* Lists session actions.
*/
public suspend fun listSessionActions(input: ListSessionActionsRequest): ListSessionActionsResponse
/**
* Lists sessions.
*/
public suspend fun listSessions(input: ListSessionsRequest): ListSessionsResponse
/**
* Lists sessions for a worker.
*/
public suspend fun listSessionsForWorker(input: ListSessionsForWorkerRequest): ListSessionsForWorkerResponse
/**
* Lists step consumers.
*/
public suspend fun listStepConsumers(input: ListStepConsumersRequest): ListStepConsumersResponse
/**
* Lists the dependencies for a step.
*/
public suspend fun listStepDependencies(input: ListStepDependenciesRequest): ListStepDependenciesResponse
/**
* Lists steps for a job.
*/
public suspend fun listSteps(input: ListStepsRequest): ListStepsResponse
/**
* Lists storage profiles.
*/
public suspend fun listStorageProfiles(input: ListStorageProfilesRequest): ListStorageProfilesResponse
/**
* Lists storage profiles for a queue.
*/
public suspend fun listStorageProfilesForQueue(input: ListStorageProfilesForQueueRequest): ListStorageProfilesForQueueResponse
/**
* Lists tags for a resource.
*/
public suspend fun listTagsForResource(input: ListTagsForResourceRequest): ListTagsForResourceResponse
/**
* Lists tasks for a job.
*/
public suspend fun listTasks(input: ListTasksRequest): ListTasksResponse
/**
* Lists workers.
*/
public suspend fun listWorkers(input: ListWorkersRequest): ListWorkersResponse
/**
* Adds a metered product.
*/
public suspend fun putMeteredProduct(input: PutMeteredProductRequest): PutMeteredProductResponse
/**
* Searches for jobs.
*/
public suspend fun searchJobs(input: SearchJobsRequest): SearchJobsResponse
/**
* Searches for steps.
*/
public suspend fun searchSteps(input: SearchStepsRequest): SearchStepsResponse
/**
* Searches for tasks.
*/
public suspend fun searchTasks(input: SearchTasksRequest): SearchTasksResponse
/**
* Searches for workers.
*/
public suspend fun searchWorkers(input: SearchWorkersRequest): SearchWorkersResponse
/**
* Starts an asynchronous request for getting aggregated statistics about queues and farms. Get the statistics using the `GetSessionsStatisticsAggregation` operation. You can only have one running aggregation for your Deadline Cloud farm. Call the `GetSessionsStatisticsAggregation` operation and check the `status` field to see if an aggregation is running. Statistics are available for 1 hour after you call the `StartSessionsStatisticsAggregation` operation.
*/
public suspend fun startSessionsStatisticsAggregation(input: StartSessionsStatisticsAggregationRequest): StartSessionsStatisticsAggregationResponse
/**
* Tags a resource using the resource's ARN and desired tags.
*/
public suspend fun tagResource(input: TagResourceRequest): TagResourceResponse
/**
* Removes a tag from a resource using the resource's ARN and tag to remove.
*/
public suspend fun untagResource(input: UntagResourceRequest): UntagResourceResponse
/**
* Updates a budget that sets spending thresholds for rendering activity.
*/
public suspend fun updateBudget(input: UpdateBudgetRequest): UpdateBudgetResponse
/**
* Updates a farm.
*/
public suspend fun updateFarm(input: UpdateFarmRequest): UpdateFarmResponse
/**
* Updates a fleet.
*/
public suspend fun updateFleet(input: UpdateFleetRequest): UpdateFleetResponse
/**
* Updates a job.
*
* When you change the status of the job to `ARCHIVED`, the job can't be scheduled or archived.
*
* An archived jobs and its steps and tasks are deleted after 120 days. The job can't be recovered.
*/
public suspend fun updateJob(input: UpdateJobRequest): UpdateJobResponse
/**
* Modifies the settings for a Deadline Cloud monitor. You can modify one or all of the settings when you call `UpdateMonitor`.
*/
public suspend fun updateMonitor(input: UpdateMonitorRequest): UpdateMonitorResponse
/**
* Updates a queue.
*/
public suspend fun updateQueue(input: UpdateQueueRequest): UpdateQueueResponse
/**
* Updates the queue environment.
*/
public suspend fun updateQueueEnvironment(input: UpdateQueueEnvironmentRequest): UpdateQueueEnvironmentResponse
/**
* Updates a queue-fleet association.
*/
public suspend fun updateQueueFleetAssociation(input: UpdateQueueFleetAssociationRequest): UpdateQueueFleetAssociationResponse
/**
* Updates a session.
*/
public suspend fun updateSession(input: UpdateSessionRequest): UpdateSessionResponse
/**
* Updates a step.
*/
public suspend fun updateStep(input: UpdateStepRequest): UpdateStepResponse
/**
* Updates a storage profile.
*/
public suspend fun updateStorageProfile(input: UpdateStorageProfileRequest): UpdateStorageProfileResponse
/**
* Updates a task.
*/
public suspend fun updateTask(input: UpdateTaskRequest): UpdateTaskResponse
/**
* Updates a worker.
*/
public suspend fun updateWorker(input: UpdateWorkerRequest): UpdateWorkerResponse
/**
* Updates the schedule for a worker.
*/
public suspend fun updateWorkerSchedule(input: UpdateWorkerScheduleRequest): UpdateWorkerScheduleResponse
}
/**
* Create a copy of the client with one or more configuration values overridden.
* This method allows the caller to perform scoped config overrides for one or more client operations.
*
* Any resources created on your behalf will be shared between clients, and will only be closed when ALL clients using them are closed.
* If you provide a resource (e.g. [HttpClientEngine]) to the SDK, you are responsible for managing the lifetime of that resource.
*/
public fun DeadlineClient.withConfig(block: DeadlineClient.Config.Builder.() -> Unit): DeadlineClient {
val newConfig = config.toBuilder().apply(block).build()
return DefaultDeadlineClient(newConfig)
}
/**
* Assigns a farm membership level to a member.
*/
public suspend inline fun DeadlineClient.associateMemberToFarm(crossinline block: AssociateMemberToFarmRequest.Builder.() -> Unit): AssociateMemberToFarmResponse = associateMemberToFarm(AssociateMemberToFarmRequest.Builder().apply(block).build())
/**
* Assigns a fleet membership level to a member.
*/
public suspend inline fun DeadlineClient.associateMemberToFleet(crossinline block: AssociateMemberToFleetRequest.Builder.() -> Unit): AssociateMemberToFleetResponse = associateMemberToFleet(AssociateMemberToFleetRequest.Builder().apply(block).build())
/**
* Assigns a job membership level to a member
*/
public suspend inline fun DeadlineClient.associateMemberToJob(crossinline block: AssociateMemberToJobRequest.Builder.() -> Unit): AssociateMemberToJobResponse = associateMemberToJob(AssociateMemberToJobRequest.Builder().apply(block).build())
/**
* Assigns a queue membership level to a member
*/
public suspend inline fun DeadlineClient.associateMemberToQueue(crossinline block: AssociateMemberToQueueRequest.Builder.() -> Unit): AssociateMemberToQueueResponse = associateMemberToQueue(AssociateMemberToQueueRequest.Builder().apply(block).build())
/**
* Get Amazon Web Services credentials from the fleet role. The IAM permissions of the credentials are scoped down to have read-only access.
*/
public suspend inline fun DeadlineClient.assumeFleetRoleForRead(crossinline block: AssumeFleetRoleForReadRequest.Builder.() -> Unit): AssumeFleetRoleForReadResponse = assumeFleetRoleForRead(AssumeFleetRoleForReadRequest.Builder().apply(block).build())
/**
* Get credentials from the fleet role for a worker.
*/
public suspend inline fun DeadlineClient.assumeFleetRoleForWorker(crossinline block: AssumeFleetRoleForWorkerRequest.Builder.() -> Unit): AssumeFleetRoleForWorkerResponse = assumeFleetRoleForWorker(AssumeFleetRoleForWorkerRequest.Builder().apply(block).build())
/**
* Gets Amazon Web Services credentials from the queue role. The IAM permissions of the credentials are scoped down to have read-only access.
*/
public suspend inline fun DeadlineClient.assumeQueueRoleForRead(crossinline block: AssumeQueueRoleForReadRequest.Builder.() -> Unit): AssumeQueueRoleForReadResponse = assumeQueueRoleForRead(AssumeQueueRoleForReadRequest.Builder().apply(block).build())
/**
* Allows a user to assume a role for a queue.
*/
public suspend inline fun DeadlineClient.assumeQueueRoleForUser(crossinline block: AssumeQueueRoleForUserRequest.Builder.() -> Unit): AssumeQueueRoleForUserResponse = assumeQueueRoleForUser(AssumeQueueRoleForUserRequest.Builder().apply(block).build())
/**
* Allows a worker to assume a queue role.
*/
public suspend inline fun DeadlineClient.assumeQueueRoleForWorker(crossinline block: AssumeQueueRoleForWorkerRequest.Builder.() -> Unit): AssumeQueueRoleForWorkerResponse = assumeQueueRoleForWorker(AssumeQueueRoleForWorkerRequest.Builder().apply(block).build())
/**
* Get batched job details for a worker.
*/
public suspend inline fun DeadlineClient.batchGetJobEntity(crossinline block: BatchGetJobEntityRequest.Builder.() -> Unit): BatchGetJobEntityResponse = batchGetJobEntity(BatchGetJobEntityRequest.Builder().apply(block).build())
/**
* Copies a job template to an Amazon S3 bucket.
*/
public suspend inline fun DeadlineClient.copyJobTemplate(crossinline block: CopyJobTemplateRequest.Builder.() -> Unit): CopyJobTemplateResponse = copyJobTemplate(CopyJobTemplateRequest.Builder().apply(block).build())
/**
* Creates a budget to set spending thresholds for your rendering activity.
*/
public suspend inline fun DeadlineClient.createBudget(crossinline block: CreateBudgetRequest.Builder.() -> Unit): CreateBudgetResponse = createBudget(CreateBudgetRequest.Builder().apply(block).build())
/**
* Creates a farm to allow space for queues and fleets. Farms are the space where the components of your renders gather and are pieced together in the cloud. Farms contain budgets and allow you to enforce permissions. Deadline Cloud farms are a useful container for large projects.
*/
public suspend inline fun DeadlineClient.createFarm(crossinline block: CreateFarmRequest.Builder.() -> Unit): CreateFarmResponse = createFarm(CreateFarmRequest.Builder().apply(block).build())
/**
* Creates a fleet. Fleets gather information relating to compute, or capacity, for renders within your farms. You can choose to manage your own capacity or opt to have fleets fully managed by Deadline Cloud.
*/
public suspend inline fun DeadlineClient.createFleet(crossinline block: CreateFleetRequest.Builder.() -> Unit): CreateFleetResponse = createFleet(CreateFleetRequest.Builder().apply(block).build())
/**
* Creates a job. A job is a set of instructions that AWS Deadline Cloud uses to schedule and run work on available workers. For more information, see [Deadline Cloud jobs](https://docs.aws.amazon.com/deadline-cloud/latest/userguide/deadline-cloud-jobs.html).
*/
public suspend inline fun DeadlineClient.createJob(crossinline block: CreateJobRequest.Builder.() -> Unit): CreateJobResponse = createJob(CreateJobRequest.Builder().apply(block).build())
/**
* Creates a license endpoint to integrate your various licensed software used for rendering on Deadline Cloud.
*/
public suspend inline fun DeadlineClient.createLicenseEndpoint(crossinline block: CreateLicenseEndpointRequest.Builder.() -> Unit): CreateLicenseEndpointResponse = createLicenseEndpoint(CreateLicenseEndpointRequest.Builder().apply(block).build())
/**
* Creates an Amazon Web Services Deadline Cloud monitor that you can use to view your farms, queues, and fleets. After you submit a job, you can track the progress of the tasks and steps that make up the job, and then download the job's results.
*/
public suspend inline fun DeadlineClient.createMonitor(crossinline block: CreateMonitorRequest.Builder.() -> Unit): CreateMonitorResponse = createMonitor(CreateMonitorRequest.Builder().apply(block).build())
/**
* Creates a queue to coordinate the order in which jobs run on a farm. A queue can also specify where to pull resources and indicate where to output completed jobs.
*/
public suspend inline fun DeadlineClient.createQueue(crossinline block: CreateQueueRequest.Builder.() -> Unit): CreateQueueResponse = createQueue(CreateQueueRequest.Builder().apply(block).build())
/**
* Creates an environment for a queue that defines how jobs in the queue run.
*/
public suspend inline fun DeadlineClient.createQueueEnvironment(crossinline block: CreateQueueEnvironmentRequest.Builder.() -> Unit): CreateQueueEnvironmentResponse = createQueueEnvironment(CreateQueueEnvironmentRequest.Builder().apply(block).build())
/**
* Creates an association between a queue and a fleet.
*/
public suspend inline fun DeadlineClient.createQueueFleetAssociation(crossinline block: CreateQueueFleetAssociationRequest.Builder.() -> Unit): CreateQueueFleetAssociationResponse = createQueueFleetAssociation(CreateQueueFleetAssociationRequest.Builder().apply(block).build())
/**
* Creates a storage profile that specifies the operating system, file type, and file location of resources used on a farm.
*/
public suspend inline fun DeadlineClient.createStorageProfile(crossinline block: CreateStorageProfileRequest.Builder.() -> Unit): CreateStorageProfileResponse = createStorageProfile(CreateStorageProfileRequest.Builder().apply(block).build())
/**
* Creates a worker. A worker tells your instance how much processing power (vCPU), and memory (GiB) you’ll need to assemble the digital assets held within a particular instance. You can specify certain instance types to use, or let the worker know which instances types to exclude.
*/
public suspend inline fun DeadlineClient.createWorker(crossinline block: CreateWorkerRequest.Builder.() -> Unit): CreateWorkerResponse = createWorker(CreateWorkerRequest.Builder().apply(block).build())
/**
* Deletes a budget.
*/
public suspend inline fun DeadlineClient.deleteBudget(crossinline block: DeleteBudgetRequest.Builder.() -> Unit): DeleteBudgetResponse = deleteBudget(DeleteBudgetRequest.Builder().apply(block).build())
/**
* Deletes a farm.
*/
public suspend inline fun DeadlineClient.deleteFarm(crossinline block: DeleteFarmRequest.Builder.() -> Unit): DeleteFarmResponse = deleteFarm(DeleteFarmRequest.Builder().apply(block).build())
/**
* Deletes a fleet.
*/
public suspend inline fun DeadlineClient.deleteFleet(crossinline block: DeleteFleetRequest.Builder.() -> Unit): DeleteFleetResponse = deleteFleet(DeleteFleetRequest.Builder().apply(block).build())
/**
* Deletes a license endpoint.
*/
public suspend inline fun DeadlineClient.deleteLicenseEndpoint(crossinline block: DeleteLicenseEndpointRequest.Builder.() -> Unit): DeleteLicenseEndpointResponse = deleteLicenseEndpoint(DeleteLicenseEndpointRequest.Builder().apply(block).build())
/**
* Deletes a metered product.
*/
public suspend inline fun DeadlineClient.deleteMeteredProduct(crossinline block: DeleteMeteredProductRequest.Builder.() -> Unit): DeleteMeteredProductResponse = deleteMeteredProduct(DeleteMeteredProductRequest.Builder().apply(block).build())
/**
* Removes a Deadline Cloud monitor. After you delete a monitor, you can create a new one and attach farms to the monitor.
*/
public suspend inline fun DeadlineClient.deleteMonitor(crossinline block: DeleteMonitorRequest.Builder.() -> Unit): DeleteMonitorResponse = deleteMonitor(DeleteMonitorRequest.Builder().apply(block).build())
/**
* Deletes a queue.
*
* You can't recover the jobs in a queue if you delete the queue. Deleting the queue also deletes the jobs in that queue.
*/
public suspend inline fun DeadlineClient.deleteQueue(crossinline block: DeleteQueueRequest.Builder.() -> Unit): DeleteQueueResponse = deleteQueue(DeleteQueueRequest.Builder().apply(block).build())
/**
* Deletes a queue environment.
*/
public suspend inline fun DeadlineClient.deleteQueueEnvironment(crossinline block: DeleteQueueEnvironmentRequest.Builder.() -> Unit): DeleteQueueEnvironmentResponse = deleteQueueEnvironment(DeleteQueueEnvironmentRequest.Builder().apply(block).build())
/**
* Deletes a queue-fleet association.
*/
public suspend inline fun DeadlineClient.deleteQueueFleetAssociation(crossinline block: DeleteQueueFleetAssociationRequest.Builder.() -> Unit): DeleteQueueFleetAssociationResponse = deleteQueueFleetAssociation(DeleteQueueFleetAssociationRequest.Builder().apply(block).build())
/**
* Deletes a storage profile.
*/
public suspend inline fun DeadlineClient.deleteStorageProfile(crossinline block: DeleteStorageProfileRequest.Builder.() -> Unit): DeleteStorageProfileResponse = deleteStorageProfile(DeleteStorageProfileRequest.Builder().apply(block).build())
/**
* Deletes a worker.
*/
public suspend inline fun DeadlineClient.deleteWorker(crossinline block: DeleteWorkerRequest.Builder.() -> Unit): DeleteWorkerResponse = deleteWorker(DeleteWorkerRequest.Builder().apply(block).build())
/**
* Disassociates a member from a farm.
*/
public suspend inline fun DeadlineClient.disassociateMemberFromFarm(crossinline block: DisassociateMemberFromFarmRequest.Builder.() -> Unit): DisassociateMemberFromFarmResponse = disassociateMemberFromFarm(DisassociateMemberFromFarmRequest.Builder().apply(block).build())
/**
* Disassociates a member from a fleet.
*/
public suspend inline fun DeadlineClient.disassociateMemberFromFleet(crossinline block: DisassociateMemberFromFleetRequest.Builder.() -> Unit): DisassociateMemberFromFleetResponse = disassociateMemberFromFleet(DisassociateMemberFromFleetRequest.Builder().apply(block).build())
/**
* Disassociates a member from a job.
*/
public suspend inline fun DeadlineClient.disassociateMemberFromJob(crossinline block: DisassociateMemberFromJobRequest.Builder.() -> Unit): DisassociateMemberFromJobResponse = disassociateMemberFromJob(DisassociateMemberFromJobRequest.Builder().apply(block).build())
/**
* Disassociates a member from a queue.
*/
public suspend inline fun DeadlineClient.disassociateMemberFromQueue(crossinline block: DisassociateMemberFromQueueRequest.Builder.() -> Unit): DisassociateMemberFromQueueResponse = disassociateMemberFromQueue(DisassociateMemberFromQueueRequest.Builder().apply(block).build())
/**
* Get a budget.
*/
public suspend inline fun DeadlineClient.getBudget(crossinline block: GetBudgetRequest.Builder.() -> Unit): GetBudgetResponse = getBudget(GetBudgetRequest.Builder().apply(block).build())
/**
* Get a farm.
*/
public suspend inline fun DeadlineClient.getFarm(crossinline block: GetFarmRequest.Builder.() -> Unit): GetFarmResponse = getFarm(GetFarmRequest.Builder().apply(block).build())
/**
* Get a fleet.
*/
public suspend inline fun DeadlineClient.getFleet(crossinline block: GetFleetRequest.Builder.() -> Unit): GetFleetResponse = getFleet(GetFleetRequest.Builder().apply(block).build())
/**
* Gets a Deadline Cloud job.
*/
public suspend inline fun DeadlineClient.getJob(crossinline block: GetJobRequest.Builder.() -> Unit): GetJobResponse = getJob(GetJobRequest.Builder().apply(block).build())
/**
* Gets a licence endpoint.
*/
public suspend inline fun DeadlineClient.getLicenseEndpoint(crossinline block: GetLicenseEndpointRequest.Builder.() -> Unit): GetLicenseEndpointResponse = getLicenseEndpoint(GetLicenseEndpointRequest.Builder().apply(block).build())
/**
* Gets information about the specified monitor.
*/
public suspend inline fun DeadlineClient.getMonitor(crossinline block: GetMonitorRequest.Builder.() -> Unit): GetMonitorResponse = getMonitor(GetMonitorRequest.Builder().apply(block).build())
/**
* Gets a queue.
*/
public suspend inline fun DeadlineClient.getQueue(crossinline block: GetQueueRequest.Builder.() -> Unit): GetQueueResponse = getQueue(GetQueueRequest.Builder().apply(block).build())
/**
* Gets a queue environment.
*/
public suspend inline fun DeadlineClient.getQueueEnvironment(crossinline block: GetQueueEnvironmentRequest.Builder.() -> Unit): GetQueueEnvironmentResponse = getQueueEnvironment(GetQueueEnvironmentRequest.Builder().apply(block).build())
/**
* Gets a queue-fleet association.
*/
public suspend inline fun DeadlineClient.getQueueFleetAssociation(crossinline block: GetQueueFleetAssociationRequest.Builder.() -> Unit): GetQueueFleetAssociationResponse = getQueueFleetAssociation(GetQueueFleetAssociationRequest.Builder().apply(block).build())
/**
* Gets a session.
*/
public suspend inline fun DeadlineClient.getSession(crossinline block: GetSessionRequest.Builder.() -> Unit): GetSessionResponse = getSession(GetSessionRequest.Builder().apply(block).build())
/**
* Gets a session action for the job.
*/
public suspend inline fun DeadlineClient.getSessionAction(crossinline block: GetSessionActionRequest.Builder.() -> Unit): GetSessionActionResponse = getSessionAction(GetSessionActionRequest.Builder().apply(block).build())
/**
* Gets a set of statistics for queues or farms. Before you can call the `GetSessionStatisticsAggregation` operation, you must first call the `StartSessionsStatisticsAggregation` operation. Statistics are available for 1 hour after you call the `StartSessionsStatisticsAggregation` operation.
*/
public suspend inline fun DeadlineClient.getSessionsStatisticsAggregation(crossinline block: GetSessionsStatisticsAggregationRequest.Builder.() -> Unit): GetSessionsStatisticsAggregationResponse = getSessionsStatisticsAggregation(GetSessionsStatisticsAggregationRequest.Builder().apply(block).build())
/**
* Gets a step.
*/
public suspend inline fun DeadlineClient.getStep(crossinline block: GetStepRequest.Builder.() -> Unit): GetStepResponse = getStep(GetStepRequest.Builder().apply(block).build())
/**
* Gets a storage profile.
*/
public suspend inline fun DeadlineClient.getStorageProfile(crossinline block: GetStorageProfileRequest.Builder.() -> Unit): GetStorageProfileResponse = getStorageProfile(GetStorageProfileRequest.Builder().apply(block).build())
/**
* Gets a storage profile for a queue.
*/
public suspend inline fun DeadlineClient.getStorageProfileForQueue(crossinline block: GetStorageProfileForQueueRequest.Builder.() -> Unit): GetStorageProfileForQueueResponse = getStorageProfileForQueue(GetStorageProfileForQueueRequest.Builder().apply(block).build())
/**
* Gets a task.
*/
public suspend inline fun DeadlineClient.getTask(crossinline block: GetTaskRequest.Builder.() -> Unit): GetTaskResponse = getTask(GetTaskRequest.Builder().apply(block).build())
/**
* Gets a worker.
*/
public suspend inline fun DeadlineClient.getWorker(crossinline block: GetWorkerRequest.Builder.() -> Unit): GetWorkerResponse = getWorker(GetWorkerRequest.Builder().apply(block).build())
/**
* A list of the available metered products.
*/
public suspend inline fun DeadlineClient.listAvailableMeteredProducts(crossinline block: ListAvailableMeteredProductsRequest.Builder.() -> Unit): ListAvailableMeteredProductsResponse = listAvailableMeteredProducts(ListAvailableMeteredProductsRequest.Builder().apply(block).build())
/**
* A list of budgets in a farm.
*/
public suspend inline fun DeadlineClient.listBudgets(crossinline block: ListBudgetsRequest.Builder.() -> Unit): ListBudgetsResponse = listBudgets(ListBudgetsRequest.Builder().apply(block).build())
/**
* Lists the members of a farm.
*/
public suspend inline fun DeadlineClient.listFarmMembers(crossinline block: ListFarmMembersRequest.Builder.() -> Unit): ListFarmMembersResponse = listFarmMembers(ListFarmMembersRequest.Builder().apply(block).build())
/**
* Lists farms.
*/
public suspend inline fun DeadlineClient.listFarms(crossinline block: ListFarmsRequest.Builder.() -> Unit): ListFarmsResponse = listFarms(ListFarmsRequest.Builder().apply(block).build())
/**
* Lists fleet members.
*/
public suspend inline fun DeadlineClient.listFleetMembers(crossinline block: ListFleetMembersRequest.Builder.() -> Unit): ListFleetMembersResponse = listFleetMembers(ListFleetMembersRequest.Builder().apply(block).build())
/**
* Lists fleets.
*/
public suspend inline fun DeadlineClient.listFleets(crossinline block: ListFleetsRequest.Builder.() -> Unit): ListFleetsResponse = listFleets(ListFleetsRequest.Builder().apply(block).build())
/**
* Lists members on a job.
*/
public suspend inline fun DeadlineClient.listJobMembers(crossinline block: ListJobMembersRequest.Builder.() -> Unit): ListJobMembersResponse = listJobMembers(ListJobMembersRequest.Builder().apply(block).build())
/**
* Lists jobs.
*/
public suspend inline fun DeadlineClient.listJobs(crossinline block: ListJobsRequest.Builder.() -> Unit): ListJobsResponse = listJobs(ListJobsRequest.Builder().apply(block).build())
/**
* Lists license endpoints.
*/
public suspend inline fun DeadlineClient.listLicenseEndpoints(crossinline block: ListLicenseEndpointsRequest.Builder.() -> Unit): ListLicenseEndpointsResponse = listLicenseEndpoints(ListLicenseEndpointsRequest.Builder().apply(block).build())
/**
* Lists metered products.
*/
public suspend inline fun DeadlineClient.listMeteredProducts(crossinline block: ListMeteredProductsRequest.Builder.() -> Unit): ListMeteredProductsResponse = listMeteredProducts(ListMeteredProductsRequest.Builder().apply(block).build())
/**
* Gets a list of your monitors in Deadline Cloud.
*/
public suspend inline fun DeadlineClient.listMonitors(crossinline block: ListMonitorsRequest.Builder.() -> Unit): ListMonitorsResponse = listMonitors(ListMonitorsRequest.Builder().apply(block).build())
/**
* Lists queue environments.
*/
public suspend inline fun DeadlineClient.listQueueEnvironments(crossinline block: ListQueueEnvironmentsRequest.Builder.() -> Unit): ListQueueEnvironmentsResponse = listQueueEnvironments(ListQueueEnvironmentsRequest.Builder().apply(block).build())
/**
* Lists queue-fleet associations.
*/
public suspend inline fun DeadlineClient.listQueueFleetAssociations(crossinline block: ListQueueFleetAssociationsRequest.Builder.() -> Unit): ListQueueFleetAssociationsResponse = listQueueFleetAssociations(ListQueueFleetAssociationsRequest.Builder().apply(block).build())
/**
* Lists the members in a queue.
*/
public suspend inline fun DeadlineClient.listQueueMembers(crossinline block: ListQueueMembersRequest.Builder.() -> Unit): ListQueueMembersResponse = listQueueMembers(ListQueueMembersRequest.Builder().apply(block).build())
/**
* Lists queues.
*/
public suspend inline fun DeadlineClient.listQueues(crossinline block: ListQueuesRequest.Builder.() -> Unit): ListQueuesResponse = listQueues(ListQueuesRequest.Builder().apply(block).build())
/**
* Lists session actions.
*/
public suspend inline fun DeadlineClient.listSessionActions(crossinline block: ListSessionActionsRequest.Builder.() -> Unit): ListSessionActionsResponse = listSessionActions(ListSessionActionsRequest.Builder().apply(block).build())
/**
* Lists sessions.
*/
public suspend inline fun DeadlineClient.listSessions(crossinline block: ListSessionsRequest.Builder.() -> Unit): ListSessionsResponse = listSessions(ListSessionsRequest.Builder().apply(block).build())
/**
* Lists sessions for a worker.
*/
public suspend inline fun DeadlineClient.listSessionsForWorker(crossinline block: ListSessionsForWorkerRequest.Builder.() -> Unit): ListSessionsForWorkerResponse = listSessionsForWorker(ListSessionsForWorkerRequest.Builder().apply(block).build())
/**
* Lists step consumers.
*/
public suspend inline fun DeadlineClient.listStepConsumers(crossinline block: ListStepConsumersRequest.Builder.() -> Unit): ListStepConsumersResponse = listStepConsumers(ListStepConsumersRequest.Builder().apply(block).build())
/**
* Lists the dependencies for a step.
*/
public suspend inline fun DeadlineClient.listStepDependencies(crossinline block: ListStepDependenciesRequest.Builder.() -> Unit): ListStepDependenciesResponse = listStepDependencies(ListStepDependenciesRequest.Builder().apply(block).build())
/**
* Lists steps for a job.
*/
public suspend inline fun DeadlineClient.listSteps(crossinline block: ListStepsRequest.Builder.() -> Unit): ListStepsResponse = listSteps(ListStepsRequest.Builder().apply(block).build())
/**
* Lists storage profiles.
*/
public suspend inline fun DeadlineClient.listStorageProfiles(crossinline block: ListStorageProfilesRequest.Builder.() -> Unit): ListStorageProfilesResponse = listStorageProfiles(ListStorageProfilesRequest.Builder().apply(block).build())
/**
* Lists storage profiles for a queue.
*/
public suspend inline fun DeadlineClient.listStorageProfilesForQueue(crossinline block: ListStorageProfilesForQueueRequest.Builder.() -> Unit): ListStorageProfilesForQueueResponse = listStorageProfilesForQueue(ListStorageProfilesForQueueRequest.Builder().apply(block).build())
/**
* Lists tags for a resource.
*/
public suspend inline fun DeadlineClient.listTagsForResource(crossinline block: ListTagsForResourceRequest.Builder.() -> Unit): ListTagsForResourceResponse = listTagsForResource(ListTagsForResourceRequest.Builder().apply(block).build())
/**
* Lists tasks for a job.
*/
public suspend inline fun DeadlineClient.listTasks(crossinline block: ListTasksRequest.Builder.() -> Unit): ListTasksResponse = listTasks(ListTasksRequest.Builder().apply(block).build())
/**
* Lists workers.
*/
public suspend inline fun DeadlineClient.listWorkers(crossinline block: ListWorkersRequest.Builder.() -> Unit): ListWorkersResponse = listWorkers(ListWorkersRequest.Builder().apply(block).build())
/**
* Adds a metered product.
*/
public suspend inline fun DeadlineClient.putMeteredProduct(crossinline block: PutMeteredProductRequest.Builder.() -> Unit): PutMeteredProductResponse = putMeteredProduct(PutMeteredProductRequest.Builder().apply(block).build())
/**
* Searches for jobs.
*/
public suspend inline fun DeadlineClient.searchJobs(crossinline block: SearchJobsRequest.Builder.() -> Unit): SearchJobsResponse = searchJobs(SearchJobsRequest.Builder().apply(block).build())
/**
* Searches for steps.
*/
public suspend inline fun DeadlineClient.searchSteps(crossinline block: SearchStepsRequest.Builder.() -> Unit): SearchStepsResponse = searchSteps(SearchStepsRequest.Builder().apply(block).build())
/**
* Searches for tasks.
*/
public suspend inline fun DeadlineClient.searchTasks(crossinline block: SearchTasksRequest.Builder.() -> Unit): SearchTasksResponse = searchTasks(SearchTasksRequest.Builder().apply(block).build())
/**
* Searches for workers.
*/
public suspend inline fun DeadlineClient.searchWorkers(crossinline block: SearchWorkersRequest.Builder.() -> Unit): SearchWorkersResponse = searchWorkers(SearchWorkersRequest.Builder().apply(block).build())
/**
* Starts an asynchronous request for getting aggregated statistics about queues and farms. Get the statistics using the `GetSessionsStatisticsAggregation` operation. You can only have one running aggregation for your Deadline Cloud farm. Call the `GetSessionsStatisticsAggregation` operation and check the `status` field to see if an aggregation is running. Statistics are available for 1 hour after you call the `StartSessionsStatisticsAggregation` operation.
*/
public suspend inline fun DeadlineClient.startSessionsStatisticsAggregation(crossinline block: StartSessionsStatisticsAggregationRequest.Builder.() -> Unit): StartSessionsStatisticsAggregationResponse = startSessionsStatisticsAggregation(StartSessionsStatisticsAggregationRequest.Builder().apply(block).build())
/**
* Tags a resource using the resource's ARN and desired tags.
*/
public suspend inline fun DeadlineClient.tagResource(crossinline block: TagResourceRequest.Builder.() -> Unit): TagResourceResponse = tagResource(TagResourceRequest.Builder().apply(block).build())
/**
* Removes a tag from a resource using the resource's ARN and tag to remove.
*/
public suspend inline fun DeadlineClient.untagResource(crossinline block: UntagResourceRequest.Builder.() -> Unit): UntagResourceResponse = untagResource(UntagResourceRequest.Builder().apply(block).build())
/**
* Updates a budget that sets spending thresholds for rendering activity.
*/
public suspend inline fun DeadlineClient.updateBudget(crossinline block: UpdateBudgetRequest.Builder.() -> Unit): UpdateBudgetResponse = updateBudget(UpdateBudgetRequest.Builder().apply(block).build())
/**
* Updates a farm.
*/
public suspend inline fun DeadlineClient.updateFarm(crossinline block: UpdateFarmRequest.Builder.() -> Unit): UpdateFarmResponse = updateFarm(UpdateFarmRequest.Builder().apply(block).build())
/**
* Updates a fleet.
*/
public suspend inline fun DeadlineClient.updateFleet(crossinline block: UpdateFleetRequest.Builder.() -> Unit): UpdateFleetResponse = updateFleet(UpdateFleetRequest.Builder().apply(block).build())
/**
* Updates a job.
*
* When you change the status of the job to `ARCHIVED`, the job can't be scheduled or archived.
*
* An archived jobs and its steps and tasks are deleted after 120 days. The job can't be recovered.
*/
public suspend inline fun DeadlineClient.updateJob(crossinline block: UpdateJobRequest.Builder.() -> Unit): UpdateJobResponse = updateJob(UpdateJobRequest.Builder().apply(block).build())
/**
* Modifies the settings for a Deadline Cloud monitor. You can modify one or all of the settings when you call `UpdateMonitor`.
*/
public suspend inline fun DeadlineClient.updateMonitor(crossinline block: UpdateMonitorRequest.Builder.() -> Unit): UpdateMonitorResponse = updateMonitor(UpdateMonitorRequest.Builder().apply(block).build())
/**
* Updates a queue.
*/
public suspend inline fun DeadlineClient.updateQueue(crossinline block: UpdateQueueRequest.Builder.() -> Unit): UpdateQueueResponse = updateQueue(UpdateQueueRequest.Builder().apply(block).build())
/**
* Updates the queue environment.
*/
public suspend inline fun DeadlineClient.updateQueueEnvironment(crossinline block: UpdateQueueEnvironmentRequest.Builder.() -> Unit): UpdateQueueEnvironmentResponse = updateQueueEnvironment(UpdateQueueEnvironmentRequest.Builder().apply(block).build())
/**
* Updates a queue-fleet association.
*/
public suspend inline fun DeadlineClient.updateQueueFleetAssociation(crossinline block: UpdateQueueFleetAssociationRequest.Builder.() -> Unit): UpdateQueueFleetAssociationResponse = updateQueueFleetAssociation(UpdateQueueFleetAssociationRequest.Builder().apply(block).build())
/**
* Updates a session.
*/
public suspend inline fun DeadlineClient.updateSession(crossinline block: UpdateSessionRequest.Builder.() -> Unit): UpdateSessionResponse = updateSession(UpdateSessionRequest.Builder().apply(block).build())
/**
* Updates a step.
*/
public suspend inline fun DeadlineClient.updateStep(crossinline block: UpdateStepRequest.Builder.() -> Unit): UpdateStepResponse = updateStep(UpdateStepRequest.Builder().apply(block).build())
/**
* Updates a storage profile.
*/
public suspend inline fun DeadlineClient.updateStorageProfile(crossinline block: UpdateStorageProfileRequest.Builder.() -> Unit): UpdateStorageProfileResponse = updateStorageProfile(UpdateStorageProfileRequest.Builder().apply(block).build())
/**
* Updates a task.
*/
public suspend inline fun DeadlineClient.updateTask(crossinline block: UpdateTaskRequest.Builder.() -> Unit): UpdateTaskResponse = updateTask(UpdateTaskRequest.Builder().apply(block).build())
/**
* Updates a worker.
*/
public suspend inline fun DeadlineClient.updateWorker(crossinline block: UpdateWorkerRequest.Builder.() -> Unit): UpdateWorkerResponse = updateWorker(UpdateWorkerRequest.Builder().apply(block).build())
/**
* Updates the schedule for a worker.
*/
public suspend inline fun DeadlineClient.updateWorkerSchedule(crossinline block: UpdateWorkerScheduleRequest.Builder.() -> Unit): UpdateWorkerScheduleResponse = updateWorkerSchedule(UpdateWorkerScheduleRequest.Builder().apply(block).build())