Class: Aws::Deadline::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Deadline::Client
- Includes:
- ClientStubs
- Defined in:
- lib/aws-sdk-deadline/client.rb
Overview
An API client for Deadline. To construct a client, you need to configure a ‘:region` and `:credentials`.
client = Aws::Deadline::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
API Operations collapse
-
#associate_member_to_farm(params = {}) ⇒ Struct
Assigns a farm membership level to a member.
-
#associate_member_to_fleet(params = {}) ⇒ Struct
Assigns a fleet membership level to a member.
-
#associate_member_to_job(params = {}) ⇒ Struct
Assigns a job membership level to a member.
-
#associate_member_to_queue(params = {}) ⇒ Struct
Assigns a queue membership level to a member.
-
#assume_fleet_role_for_read(params = {}) ⇒ Types::AssumeFleetRoleForReadResponse
Get Amazon Web Services credentials from the fleet role.
-
#assume_fleet_role_for_worker(params = {}) ⇒ Types::AssumeFleetRoleForWorkerResponse
Get credentials from the fleet role for a worker.
-
#assume_queue_role_for_read(params = {}) ⇒ Types::AssumeQueueRoleForReadResponse
Gets Amazon Web Services credentials from the queue role.
-
#assume_queue_role_for_user(params = {}) ⇒ Types::AssumeQueueRoleForUserResponse
Allows a user to assume a role for a queue.
-
#assume_queue_role_for_worker(params = {}) ⇒ Types::AssumeQueueRoleForWorkerResponse
Allows a worker to assume a queue role.
-
#batch_get_job(params = {}) ⇒ Types::BatchGetJobResponse
Retrieves multiple jobs in a single request.
-
#batch_get_job_entity(params = {}) ⇒ Types::BatchGetJobEntityResponse
Get batched job details for a worker.
-
#batch_get_session(params = {}) ⇒ Types::BatchGetSessionResponse
Retrieves multiple sessions in a single request.
-
#batch_get_session_action(params = {}) ⇒ Types::BatchGetSessionActionResponse
Retrieves multiple session actions in a single request.
-
#batch_get_step(params = {}) ⇒ Types::BatchGetStepResponse
Retrieves multiple steps in a single request.
-
#batch_get_task(params = {}) ⇒ Types::BatchGetTaskResponse
Retrieves multiple tasks in a single request.
-
#batch_get_worker(params = {}) ⇒ Types::BatchGetWorkerResponse
Retrieves multiple workers in a single request.
-
#batch_update_job(params = {}) ⇒ Types::BatchUpdateJobResponse
Updates multiple jobs in a single request.
-
#batch_update_task(params = {}) ⇒ Types::BatchUpdateTaskResponse
Updates multiple tasks in a single request.
-
#copy_job_template(params = {}) ⇒ Types::CopyJobTemplateResponse
Copies a job template to an Amazon S3 bucket.
-
#create_budget(params = {}) ⇒ Types::CreateBudgetResponse
Creates a budget to set spending thresholds for your rendering activity.
-
#create_farm(params = {}) ⇒ Types::CreateFarmResponse
Creates a farm to allow space for queues and fleets.
-
#create_fleet(params = {}) ⇒ Types::CreateFleetResponse
Creates a fleet.
-
#create_job(params = {}) ⇒ Types::CreateJobResponse
Creates a job.
-
#create_license_endpoint(params = {}) ⇒ Types::CreateLicenseEndpointResponse
Creates a license endpoint to integrate your various licensed software used for rendering on Deadline Cloud.
-
#create_limit(params = {}) ⇒ Types::CreateLimitResponse
Creates a limit that manages the distribution of shared resources, such as floating licenses.
-
#create_monitor(params = {}) ⇒ Types::CreateMonitorResponse
Creates an Amazon Web Services Deadline Cloud monitor that you can use to view your farms, queues, and fleets.
-
#create_queue(params = {}) ⇒ Types::CreateQueueResponse
Creates a queue to coordinate the order in which jobs run on a farm.
-
#create_queue_environment(params = {}) ⇒ Types::CreateQueueEnvironmentResponse
Creates an environment for a queue that defines how jobs in the queue run.
-
#create_queue_fleet_association(params = {}) ⇒ Struct
Creates an association between a queue and a fleet.
-
#create_queue_limit_association(params = {}) ⇒ Struct
Associates a limit with a particular queue.
-
#create_storage_profile(params = {}) ⇒ Types::CreateStorageProfileResponse
Creates a storage profile that specifies the operating system, file type, and file location of resources used on a farm.
-
#create_worker(params = {}) ⇒ Types::CreateWorkerResponse
Creates a worker.
-
#delete_budget(params = {}) ⇒ Struct
Deletes a budget.
-
#delete_farm(params = {}) ⇒ Struct
Deletes a farm.
-
#delete_fleet(params = {}) ⇒ Struct
Deletes a fleet.
-
#delete_license_endpoint(params = {}) ⇒ Struct
Deletes a license endpoint.
-
#delete_limit(params = {}) ⇒ Struct
Removes a limit from the specified farm.
-
#delete_metered_product(params = {}) ⇒ Struct
Deletes a metered product.
-
#delete_monitor(params = {}) ⇒ Struct
Removes a Deadline Cloud monitor.
-
#delete_queue(params = {}) ⇒ Struct
Deletes a queue.
-
#delete_queue_environment(params = {}) ⇒ Struct
Deletes a queue environment.
-
#delete_queue_fleet_association(params = {}) ⇒ Struct
Deletes a queue-fleet association.
-
#delete_queue_limit_association(params = {}) ⇒ Struct
Removes the association between a queue and a limit.
-
#delete_storage_profile(params = {}) ⇒ Struct
Deletes a storage profile.
-
#delete_volume(params = {}) ⇒ Struct
Deletes a persistent volume.
-
#delete_worker(params = {}) ⇒ Struct
Deletes a worker.
-
#disassociate_member_from_farm(params = {}) ⇒ Struct
Disassociates a member from a farm.
-
#disassociate_member_from_fleet(params = {}) ⇒ Struct
Disassociates a member from a fleet.
-
#disassociate_member_from_job(params = {}) ⇒ Struct
Disassociates a member from a job.
-
#disassociate_member_from_queue(params = {}) ⇒ Struct
Disassociates a member from a queue.
-
#get_budget(params = {}) ⇒ Types::GetBudgetResponse
Get a budget.
-
#get_farm(params = {}) ⇒ Types::GetFarmResponse
Get a farm.
-
#get_fleet(params = {}) ⇒ Types::GetFleetResponse
Get a fleet.
-
#get_job(params = {}) ⇒ Types::GetJobResponse
Gets a Deadline Cloud job.
-
#get_license_endpoint(params = {}) ⇒ Types::GetLicenseEndpointResponse
Gets a licence endpoint.
-
#get_limit(params = {}) ⇒ Types::GetLimitResponse
Gets information about a specific limit.
-
#get_monitor(params = {}) ⇒ Types::GetMonitorResponse
Gets information about the specified monitor.
-
#get_monitor_settings(params = {}) ⇒ Types::GetMonitorSettingsResponse
Gets the settings for a Deadline Cloud monitor.
-
#get_queue(params = {}) ⇒ Types::GetQueueResponse
Gets a queue.
-
#get_queue_environment(params = {}) ⇒ Types::GetQueueEnvironmentResponse
Gets a queue environment.
-
#get_queue_fleet_association(params = {}) ⇒ Types::GetQueueFleetAssociationResponse
Gets a queue-fleet association.
-
#get_queue_limit_association(params = {}) ⇒ Types::GetQueueLimitAssociationResponse
Gets information about a specific association between a queue and a limit.
-
#get_session(params = {}) ⇒ Types::GetSessionResponse
Gets a session.
-
#get_session_action(params = {}) ⇒ Types::GetSessionActionResponse
Gets a session action for the job.
-
#get_sessions_statistics_aggregation(params = {}) ⇒ Types::GetSessionsStatisticsAggregationResponse
Gets a set of statistics for queues or farms.
-
#get_step(params = {}) ⇒ Types::GetStepResponse
Gets a step.
-
#get_storage_profile(params = {}) ⇒ Types::GetStorageProfileResponse
Gets a storage profile.
-
#get_storage_profile_for_queue(params = {}) ⇒ Types::GetStorageProfileForQueueResponse
Gets a storage profile for a queue.
-
#get_task(params = {}) ⇒ Types::GetTaskResponse
Gets a task.
-
#get_volume(params = {}) ⇒ Types::GetVolumeResponse
Gets a persistent volume.
-
#get_worker(params = {}) ⇒ Types::GetWorkerResponse
Gets a worker.
-
#list_available_metered_products(params = {}) ⇒ Types::ListAvailableMeteredProductsResponse
A list of the available metered products.
-
#list_budgets(params = {}) ⇒ Types::ListBudgetsResponse
A list of budgets in a farm.
-
#list_farm_members(params = {}) ⇒ Types::ListFarmMembersResponse
Lists the members of a farm.
-
#list_farms(params = {}) ⇒ Types::ListFarmsResponse
Lists farms.
-
#list_fleet_members(params = {}) ⇒ Types::ListFleetMembersResponse
Lists fleet members.
-
#list_fleets(params = {}) ⇒ Types::ListFleetsResponse
Lists fleets.
-
#list_job_members(params = {}) ⇒ Types::ListJobMembersResponse
Lists members on a job.
-
#list_job_parameter_definitions(params = {}) ⇒ Types::ListJobParameterDefinitionsResponse
Lists parameter definitions of a job.
-
#list_jobs(params = {}) ⇒ Types::ListJobsResponse
Lists jobs.
-
#list_license_endpoints(params = {}) ⇒ Types::ListLicenseEndpointsResponse
Lists license endpoints.
-
#list_limits(params = {}) ⇒ Types::ListLimitsResponse
Gets a list of limits defined in the specified farm.
-
#list_metered_products(params = {}) ⇒ Types::ListMeteredProductsResponse
Lists metered products.
-
#list_monitors(params = {}) ⇒ Types::ListMonitorsResponse
Gets a list of your monitors in Deadline Cloud.
-
#list_queue_environments(params = {}) ⇒ Types::ListQueueEnvironmentsResponse
Lists queue environments.
-
#list_queue_fleet_associations(params = {}) ⇒ Types::ListQueueFleetAssociationsResponse
Lists queue-fleet associations.
-
#list_queue_limit_associations(params = {}) ⇒ Types::ListQueueLimitAssociationsResponse
Gets a list of the associations between queues and limits defined in a farm.
-
#list_queue_members(params = {}) ⇒ Types::ListQueueMembersResponse
Lists the members in a queue.
-
#list_queues(params = {}) ⇒ Types::ListQueuesResponse
Lists queues.
-
#list_session_actions(params = {}) ⇒ Types::ListSessionActionsResponse
Lists session actions.
-
#list_sessions(params = {}) ⇒ Types::ListSessionsResponse
Lists sessions.
-
#list_sessions_for_worker(params = {}) ⇒ Types::ListSessionsForWorkerResponse
Lists sessions for a worker.
-
#list_step_consumers(params = {}) ⇒ Types::ListStepConsumersResponse
Lists step consumers.
-
#list_step_dependencies(params = {}) ⇒ Types::ListStepDependenciesResponse
Lists the dependencies for a step.
-
#list_steps(params = {}) ⇒ Types::ListStepsResponse
Lists steps for a job.
-
#list_storage_profiles(params = {}) ⇒ Types::ListStorageProfilesResponse
Lists storage profiles.
-
#list_storage_profiles_for_queue(params = {}) ⇒ Types::ListStorageProfilesForQueueResponse
Lists storage profiles for a queue.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists tags for a resource.
-
#list_tasks(params = {}) ⇒ Types::ListTasksResponse
Lists tasks for a job.
-
#list_volumes(params = {}) ⇒ Types::ListVolumesResponse
Lists the persistent volumes in a fleet.
-
#list_workers(params = {}) ⇒ Types::ListWorkersResponse
Lists workers.
-
#put_metered_product(params = {}) ⇒ Struct
Adds a metered product.
-
#search_jobs(params = {}) ⇒ Types::SearchJobsResponse
Searches for jobs.
-
#search_steps(params = {}) ⇒ Types::SearchStepsResponse
Searches for steps.
-
#search_tasks(params = {}) ⇒ Types::SearchTasksResponse
Searches for tasks.
-
#search_workers(params = {}) ⇒ Types::SearchWorkersResponse
Searches for workers.
-
#start_sessions_statistics_aggregation(params = {}) ⇒ Types::StartSessionsStatisticsAggregationResponse
Starts an asynchronous request for getting aggregated statistics about queues and farms.
-
#tag_resource(params = {}) ⇒ Struct
Tags a resource using the resource’s ARN and desired tags.
-
#untag_resource(params = {}) ⇒ Struct
Removes a tag from a resource using the resource’s ARN and tag to remove.
-
#update_budget(params = {}) ⇒ Struct
Updates a budget that sets spending thresholds for rendering activity.
-
#update_farm(params = {}) ⇒ Struct
Updates a farm.
-
#update_fleet(params = {}) ⇒ Struct
Updates a fleet.
-
#update_job(params = {}) ⇒ Struct
Updates a job.
-
#update_limit(params = {}) ⇒ Struct
Updates the properties of the specified limit.
-
#update_monitor(params = {}) ⇒ Struct
Modifies the settings for a Deadline Cloud monitor.
-
#update_monitor_settings(params = {}) ⇒ Struct
Updates the settings for a Deadline Cloud monitor.
-
#update_queue(params = {}) ⇒ Struct
Updates a queue.
-
#update_queue_environment(params = {}) ⇒ Struct
Updates the queue environment.
-
#update_queue_fleet_association(params = {}) ⇒ Struct
Updates a queue-fleet association.
-
#update_queue_limit_association(params = {}) ⇒ Struct
Updates the status of the queue.
-
#update_session(params = {}) ⇒ Struct
Updates a session.
-
#update_step(params = {}) ⇒ Struct
Updates a step.
-
#update_storage_profile(params = {}) ⇒ Struct
Updates a storage profile.
-
#update_task(params = {}) ⇒ Struct
Updates a task.
-
#update_worker(params = {}) ⇒ Types::UpdateWorkerResponse
Updates a worker.
-
#update_worker_schedule(params = {}) ⇒ Types::UpdateWorkerScheduleResponse
Updates the schedule for a worker.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
-
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
471 472 473 |
# File 'lib/aws-sdk-deadline/client.rb', line 471 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8509 8510 8511 |
# File 'lib/aws-sdk-deadline/client.rb', line 8509 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8512 8513 8514 |
# File 'lib/aws-sdk-deadline/client.rb', line 8512 def errors_module Errors end |
Instance Method Details
#associate_member_to_farm(params = {}) ⇒ Struct
Assigns a farm membership level to a member.
515 516 517 518 |
# File 'lib/aws-sdk-deadline/client.rb', line 515 def associate_member_to_farm(params = {}, = {}) req = build_request(:associate_member_to_farm, params) req.send_request() end |
#associate_member_to_fleet(params = {}) ⇒ Struct
Assigns a fleet membership level to a member.
562 563 564 565 |
# File 'lib/aws-sdk-deadline/client.rb', line 562 def associate_member_to_fleet(params = {}, = {}) req = build_request(:associate_member_to_fleet, params) req.send_request() end |
#associate_member_to_job(params = {}) ⇒ Struct
Assigns a job membership level to a member
613 614 615 616 |
# File 'lib/aws-sdk-deadline/client.rb', line 613 def associate_member_to_job(params = {}, = {}) req = build_request(:associate_member_to_job, params) req.send_request() end |
#associate_member_to_queue(params = {}) ⇒ Struct
Assigns a queue membership level to a member
660 661 662 663 |
# File 'lib/aws-sdk-deadline/client.rb', line 660 def associate_member_to_queue(params = {}, = {}) req = build_request(:associate_member_to_queue, params) req.send_request() end |
#assume_fleet_role_for_read(params = {}) ⇒ Types::AssumeFleetRoleForReadResponse
Get Amazon Web Services credentials from the fleet role. The IAM permissions of the credentials are scoped down to have read-only access.
697 698 699 700 |
# File 'lib/aws-sdk-deadline/client.rb', line 697 def assume_fleet_role_for_read(params = {}, = {}) req = build_request(:assume_fleet_role_for_read, params) req.send_request() end |
#assume_fleet_role_for_worker(params = {}) ⇒ Types::AssumeFleetRoleForWorkerResponse
Get credentials from the fleet role for a worker.
736 737 738 739 |
# File 'lib/aws-sdk-deadline/client.rb', line 736 def assume_fleet_role_for_worker(params = {}, = {}) req = build_request(:assume_fleet_role_for_worker, params) req.send_request() end |
#assume_queue_role_for_read(params = {}) ⇒ Types::AssumeQueueRoleForReadResponse
Gets Amazon Web Services credentials from the queue role. The IAM permissions of the credentials are scoped down to have read-only access.
773 774 775 776 |
# File 'lib/aws-sdk-deadline/client.rb', line 773 def assume_queue_role_for_read(params = {}, = {}) req = build_request(:assume_queue_role_for_read, params) req.send_request() end |
#assume_queue_role_for_user(params = {}) ⇒ Types::AssumeQueueRoleForUserResponse
Allows a user to assume a role for a queue.
808 809 810 811 |
# File 'lib/aws-sdk-deadline/client.rb', line 808 def assume_queue_role_for_user(params = {}, = {}) req = build_request(:assume_queue_role_for_user, params) req.send_request() end |
#assume_queue_role_for_worker(params = {}) ⇒ Types::AssumeQueueRoleForWorkerResponse
Allows a worker to assume a queue role.
851 852 853 854 |
# File 'lib/aws-sdk-deadline/client.rb', line 851 def assume_queue_role_for_worker(params = {}, = {}) req = build_request(:assume_queue_role_for_worker, params) req.send_request() end |
#batch_get_job(params = {}) ⇒ Types::BatchGetJobResponse
Retrieves multiple jobs in a single request. This is a batch version of the ‘GetJob` API.
The result of getting each job is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
955 956 957 958 |
# File 'lib/aws-sdk-deadline/client.rb', line 955 def batch_get_job(params = {}, = {}) req = build_request(:batch_get_job, params) req.send_request() end |
#batch_get_job_entity(params = {}) ⇒ Types::BatchGetJobEntityResponse
Get batched job details for a worker.
1068 1069 1070 1071 |
# File 'lib/aws-sdk-deadline/client.rb', line 1068 def batch_get_job_entity(params = {}, = {}) req = build_request(:batch_get_job_entity, params) req.send_request() end |
#batch_get_session(params = {}) ⇒ Types::BatchGetSessionResponse
Retrieves multiple sessions in a single request. This is a batch version of the ‘GetSession` API.
The result of getting each session is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
1169 1170 1171 1172 |
# File 'lib/aws-sdk-deadline/client.rb', line 1169 def batch_get_session(params = {}, = {}) req = build_request(:batch_get_session, params) req.send_request() end |
#batch_get_session_action(params = {}) ⇒ Types::BatchGetSessionActionResponse
Retrieves multiple session actions in a single request. This is a batch version of the ‘GetSessionAction` API.
The result of getting each session action is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
1268 1269 1270 1271 |
# File 'lib/aws-sdk-deadline/client.rb', line 1268 def batch_get_session_action(params = {}, = {}) req = build_request(:batch_get_session_action, params) req.send_request() end |
#batch_get_step(params = {}) ⇒ Types::BatchGetStepResponse
Retrieves multiple steps in a single request. This is a batch version of the ‘GetStep` API.
The result of getting each step is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
1379 1380 1381 1382 |
# File 'lib/aws-sdk-deadline/client.rb', line 1379 def batch_get_step(params = {}, = {}) req = build_request(:batch_get_step, params) req.send_request() end |
#batch_get_task(params = {}) ⇒ Types::BatchGetTaskResponse
Retrieves multiple tasks in a single request. This is a batch version of the ‘GetTask` API.
The result of getting each task is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
1474 1475 1476 1477 |
# File 'lib/aws-sdk-deadline/client.rb', line 1474 def batch_get_task(params = {}, = {}) req = build_request(:batch_get_task, params) req.send_request() end |
#batch_get_worker(params = {}) ⇒ Types::BatchGetWorkerResponse
Retrieves multiple workers in a single request. This is a batch version of the ‘GetWorker` API.
The result of getting each worker is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
1561 1562 1563 1564 |
# File 'lib/aws-sdk-deadline/client.rb', line 1561 def batch_get_worker(params = {}, = {}) req = build_request(:batch_get_worker, params) req.send_request() end |
#batch_update_job(params = {}) ⇒ Types::BatchUpdateJobResponse
Updates multiple jobs in a single request. This is a batch version of the ‘UpdateJob` API.
The result of updating each job is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
When you change the status of a job to ‘ARCHIVED`, the job can’t be scheduled or archived.
An archived job and its steps and tasks are deleted after 120 days. The job can’t be recovered.
1649 1650 1651 1652 |
# File 'lib/aws-sdk-deadline/client.rb', line 1649 def batch_update_job(params = {}, = {}) req = build_request(:batch_update_job, params) req.send_request() end |
#batch_update_task(params = {}) ⇒ Types::BatchUpdateTaskResponse
Updates multiple tasks in a single request. This is a batch version of the ‘UpdateTask` API.
The result of updating each task is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.
1732 1733 1734 1735 |
# File 'lib/aws-sdk-deadline/client.rb', line 1732 def batch_update_task(params = {}, = {}) req = build_request(:batch_update_task, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 |
# File 'lib/aws-sdk-deadline/client.rb', line 8351 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::Deadline') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-deadline' context[:gem_version] = '1.57.0' Seahorse::Client::Request.new(handlers, context) end |
#copy_job_template(params = {}) ⇒ Types::CopyJobTemplateResponse
Copies a job template to an Amazon S3 bucket.
1776 1777 1778 1779 |
# File 'lib/aws-sdk-deadline/client.rb', line 1776 def copy_job_template(params = {}, = {}) req = build_request(:copy_job_template, params) req.send_request() end |
#create_budget(params = {}) ⇒ Types::CreateBudgetResponse
Creates a budget to set spending thresholds for your rendering activity.
1865 1866 1867 1868 |
# File 'lib/aws-sdk-deadline/client.rb', line 1865 def create_budget(params = {}, = {}) req = build_request(:create_budget, params) req.send_request() end |
#create_farm(params = {}) ⇒ Types::CreateFarmResponse
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.
1936 1937 1938 1939 |
# File 'lib/aws-sdk-deadline/client.rb', line 1936 def create_farm(params = {}, = {}) req = build_request(:create_farm, params) req.send_request() end |
#create_fleet(params = {}) ⇒ Types::CreateFleetResponse
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.
2142 2143 2144 2145 |
# File 'lib/aws-sdk-deadline/client.rb', line 2142 def create_fleet(params = {}, = {}) req = build_request(:create_fleet, params) req.send_request() end |
#create_job(params = {}) ⇒ Types::CreateJobResponse
Creates a job. A job is a set of instructions that Deadline Cloud uses to schedule and run work on available workers. For more information, see [Deadline Cloud jobs].
[1]: docs.aws.amazon.com/deadline-cloud/latest/userguide/deadline-cloud-jobs.html
2282 2283 2284 2285 |
# File 'lib/aws-sdk-deadline/client.rb', line 2282 def create_job(params = {}, = {}) req = build_request(:create_job, params) req.send_request() end |
#create_license_endpoint(params = {}) ⇒ Types::CreateLicenseEndpointResponse
Creates a license endpoint to integrate your various licensed software used for rendering on Deadline Cloud.
2334 2335 2336 2337 |
# File 'lib/aws-sdk-deadline/client.rb', line 2334 def create_license_endpoint(params = {}, = {}) req = build_request(:create_license_endpoint, params) req.send_request() end |
#create_limit(params = {}) ⇒ Types::CreateLimitResponse
Creates a limit that manages the distribution of shared resources, such as floating licenses. A limit can throttle work assignments, help manage workloads, and track current usage. Before you use a limit, you must associate the limit with one or more queues.
You must add the ‘amountRequirementName` to a step in a job template to declare the limit requirement.
2409 2410 2411 2412 |
# File 'lib/aws-sdk-deadline/client.rb', line 2409 def create_limit(params = {}, = {}) req = build_request(:create_limit, params) req.send_request() end |
#create_monitor(params = {}) ⇒ Types::CreateMonitorResponse
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.
2485 2486 2487 2488 |
# File 'lib/aws-sdk-deadline/client.rb', line 2485 def create_monitor(params = {}, = {}) req = build_request(:create_monitor, params) req.send_request() end |
#create_queue(params = {}) ⇒ Types::CreateQueueResponse
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.
2614 2615 2616 2617 |
# File 'lib/aws-sdk-deadline/client.rb', line 2614 def create_queue(params = {}, = {}) req = build_request(:create_queue, params) req.send_request() end |
#create_queue_environment(params = {}) ⇒ Types::CreateQueueEnvironmentResponse
Creates an environment for a queue that defines how jobs in the queue run.
2670 2671 2672 2673 |
# File 'lib/aws-sdk-deadline/client.rb', line 2670 def create_queue_environment(params = {}, = {}) req = build_request(:create_queue_environment, params) req.send_request() end |
#create_queue_fleet_association(params = {}) ⇒ Struct
Creates an association between a queue and a fleet.
2700 2701 2702 2703 |
# File 'lib/aws-sdk-deadline/client.rb', line 2700 def create_queue_fleet_association(params = {}, = {}) req = build_request(:create_queue_fleet_association, params) req.send_request() end |
#create_queue_limit_association(params = {}) ⇒ Struct
Associates a limit with a particular queue. After the limit is associated, all workers for jobs that specify the limit associated with the queue are subject to the limit. You can’t associate two limits with the same ‘amountRequirementName` to the same queue.
2734 2735 2736 2737 |
# File 'lib/aws-sdk-deadline/client.rb', line 2734 def create_queue_limit_association(params = {}, = {}) req = build_request(:create_queue_limit_association, params) req.send_request() end |
#create_storage_profile(params = {}) ⇒ Types::CreateStorageProfileResponse
Creates a storage profile that specifies the operating system, file type, and file location of resources used on a farm.
2793 2794 2795 2796 |
# File 'lib/aws-sdk-deadline/client.rb', line 2793 def create_storage_profile(params = {}, = {}) req = build_request(:create_storage_profile, params) req.send_request() end |
#create_worker(params = {}) ⇒ Types::CreateWorkerResponse
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.
Deadline Cloud limits the number of workers to less than or equal to the fleet’s maximum worker count. The service maintains eventual consistency for the worker count. If you make multiple rapid calls to ‘CreateWorker` before the field updates, you might exceed your fleet’s maximum worker count. For example, if your ‘maxWorkerCount` is 10 and you currently have 9 workers, making two quick `CreateWorker` calls might successfully create 2 workers instead of 1, resulting in 11 total workers.
2863 2864 2865 2866 |
# File 'lib/aws-sdk-deadline/client.rb', line 2863 def create_worker(params = {}, = {}) req = build_request(:create_worker, params) req.send_request() end |
#delete_budget(params = {}) ⇒ Struct
Deletes a budget.
2889 2890 2891 2892 |
# File 'lib/aws-sdk-deadline/client.rb', line 2889 def delete_budget(params = {}, = {}) req = build_request(:delete_budget, params) req.send_request() end |
#delete_farm(params = {}) ⇒ Struct
Deletes a farm.
2911 2912 2913 2914 |
# File 'lib/aws-sdk-deadline/client.rb', line 2911 def delete_farm(params = {}, = {}) req = build_request(:delete_farm, params) req.send_request() end |
#delete_fleet(params = {}) ⇒ Struct
Deletes a fleet.
2945 2946 2947 2948 |
# File 'lib/aws-sdk-deadline/client.rb', line 2945 def delete_fleet(params = {}, = {}) req = build_request(:delete_fleet, params) req.send_request() end |
#delete_license_endpoint(params = {}) ⇒ Struct
Deletes a license endpoint.
2967 2968 2969 2970 |
# File 'lib/aws-sdk-deadline/client.rb', line 2967 def delete_license_endpoint(params = {}, = {}) req = build_request(:delete_license_endpoint, params) req.send_request() end |
#delete_limit(params = {}) ⇒ Struct
Removes a limit from the specified farm. Before you delete a limit you must use the ‘DeleteQueueLimitAssociation` operation to remove the association with any queues.
2995 2996 2997 2998 |
# File 'lib/aws-sdk-deadline/client.rb', line 2995 def delete_limit(params = {}, = {}) req = build_request(:delete_limit, params) req.send_request() end |
#delete_metered_product(params = {}) ⇒ Struct
Deletes a metered product.
3022 3023 3024 3025 |
# File 'lib/aws-sdk-deadline/client.rb', line 3022 def delete_metered_product(params = {}, = {}) req = build_request(:delete_metered_product, params) req.send_request() end |
#delete_monitor(params = {}) ⇒ Struct
Removes a Deadline Cloud monitor. After you delete a monitor, you can create a new one and attach farms to the monitor.
3047 3048 3049 3050 |
# File 'lib/aws-sdk-deadline/client.rb', line 3047 def delete_monitor(params = {}, = {}) req = build_request(:delete_monitor, params) req.send_request() end |
#delete_queue(params = {}) ⇒ Struct
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.
3076 3077 3078 3079 |
# File 'lib/aws-sdk-deadline/client.rb', line 3076 def delete_queue(params = {}, = {}) req = build_request(:delete_queue, params) req.send_request() end |
#delete_queue_environment(params = {}) ⇒ Struct
Deletes a queue environment.
3106 3107 3108 3109 |
# File 'lib/aws-sdk-deadline/client.rb', line 3106 def delete_queue_environment(params = {}, = {}) req = build_request(:delete_queue_environment, params) req.send_request() end |
#delete_queue_fleet_association(params = {}) ⇒ Struct
Deletes a queue-fleet association.
3136 3137 3138 3139 |
# File 'lib/aws-sdk-deadline/client.rb', line 3136 def delete_queue_fleet_association(params = {}, = {}) req = build_request(:delete_queue_fleet_association, params) req.send_request() end |
#delete_queue_limit_association(params = {}) ⇒ Struct
Removes the association between a queue and a limit. You must use the ‘UpdateQueueLimitAssociation` operation to set the status to `STOP_LIMIT_USAGE_AND_COMPLETE_TASKS` or `STOP_LIMIT_USAGE_AND_CANCEL_TASKS`. The status does not change immediately. Use the `GetQueueLimitAssociation` operation to see if the status changed to `STOPPED` before deleting the association.
3172 3173 3174 3175 |
# File 'lib/aws-sdk-deadline/client.rb', line 3172 def delete_queue_limit_association(params = {}, = {}) req = build_request(:delete_queue_limit_association, params) req.send_request() end |
#delete_storage_profile(params = {}) ⇒ Struct
Deletes a storage profile.
3198 3199 3200 3201 |
# File 'lib/aws-sdk-deadline/client.rb', line 3198 def delete_storage_profile(params = {}, = {}) req = build_request(:delete_storage_profile, params) req.send_request() end |
#delete_volume(params = {}) ⇒ Struct
Deletes a persistent volume.
3237 3238 3239 3240 |
# File 'lib/aws-sdk-deadline/client.rb', line 3237 def delete_volume(params = {}, = {}) req = build_request(:delete_volume, params) req.send_request() end |
#delete_worker(params = {}) ⇒ Struct
Deletes a worker.
3267 3268 3269 3270 |
# File 'lib/aws-sdk-deadline/client.rb', line 3267 def delete_worker(params = {}, = {}) req = build_request(:delete_worker, params) req.send_request() end |
#disassociate_member_from_farm(params = {}) ⇒ Struct
Disassociates a member from a farm.
3293 3294 3295 3296 |
# File 'lib/aws-sdk-deadline/client.rb', line 3293 def disassociate_member_from_farm(params = {}, = {}) req = build_request(:disassociate_member_from_farm, params) req.send_request() end |
#disassociate_member_from_fleet(params = {}) ⇒ Struct
Disassociates a member from a fleet.
3323 3324 3325 3326 |
# File 'lib/aws-sdk-deadline/client.rb', line 3323 def disassociate_member_from_fleet(params = {}, = {}) req = build_request(:disassociate_member_from_fleet, params) req.send_request() end |
#disassociate_member_from_job(params = {}) ⇒ Struct
Disassociates a member from a job.
3358 3359 3360 3361 |
# File 'lib/aws-sdk-deadline/client.rb', line 3358 def disassociate_member_from_job(params = {}, = {}) req = build_request(:disassociate_member_from_job, params) req.send_request() end |
#disassociate_member_from_queue(params = {}) ⇒ Struct
Disassociates a member from a queue.
3389 3390 3391 3392 |
# File 'lib/aws-sdk-deadline/client.rb', line 3389 def disassociate_member_from_queue(params = {}, = {}) req = build_request(:disassociate_member_from_queue, params) req.send_request() end |
#get_budget(params = {}) ⇒ Types::GetBudgetResponse
Get a budget.
3451 3452 3453 3454 |
# File 'lib/aws-sdk-deadline/client.rb', line 3451 def get_budget(params = {}, = {}) req = build_request(:get_budget, params) req.send_request() end |
#get_farm(params = {}) ⇒ Types::GetFarmResponse
Get a farm.
3495 3496 3497 3498 |
# File 'lib/aws-sdk-deadline/client.rb', line 3495 def get_farm(params = {}, = {}) req = build_request(:get_farm, params) req.send_request() end |
#get_fleet(params = {}) ⇒ Types::GetFleetResponse
Get a fleet.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* fleet_active
3639 3640 3641 3642 |
# File 'lib/aws-sdk-deadline/client.rb', line 3639 def get_fleet(params = {}, = {}) req = build_request(:get_fleet, params) req.send_request() end |
#get_job(params = {}) ⇒ Types::GetJobResponse
Gets a Deadline Cloud job.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* job_complete
* job_create_complete
* job_succeeded
3739 3740 3741 3742 |
# File 'lib/aws-sdk-deadline/client.rb', line 3739 def get_job(params = {}, = {}) req = build_request(:get_job, params) req.send_request() end |
#get_license_endpoint(params = {}) ⇒ Types::GetLicenseEndpointResponse
Gets a licence endpoint.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* license_endpoint_deleted
* license_endpoint_valid
3787 3788 3789 3790 |
# File 'lib/aws-sdk-deadline/client.rb', line 3787 def get_license_endpoint(params = {}, = {}) req = build_request(:get_license_endpoint, params) req.send_request() end |
#get_limit(params = {}) ⇒ Types::GetLimitResponse
Gets information about a specific limit.
3839 3840 3841 3842 |
# File 'lib/aws-sdk-deadline/client.rb', line 3839 def get_limit(params = {}, = {}) req = build_request(:get_limit, params) req.send_request() end |
#get_monitor(params = {}) ⇒ Types::GetMonitorResponse
Gets information about the specified monitor.
3890 3891 3892 3893 |
# File 'lib/aws-sdk-deadline/client.rb', line 3890 def get_monitor(params = {}, = {}) req = build_request(:get_monitor, params) req.send_request() end |
#get_monitor_settings(params = {}) ⇒ Types::GetMonitorSettingsResponse
Gets the settings for a Deadline Cloud monitor.
3928 3929 3930 3931 |
# File 'lib/aws-sdk-deadline/client.rb', line 3928 def get_monitor_settings(params = {}, = {}) req = build_request(:get_monitor_settings, params) req.send_request() end |
#get_queue(params = {}) ⇒ Types::GetQueueResponse
Gets a queue.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* queue_scheduling
* queue_scheduling_blocked
4010 4011 4012 4013 |
# File 'lib/aws-sdk-deadline/client.rb', line 4010 def get_queue(params = {}, = {}) req = build_request(:get_queue, params) req.send_request() end |
#get_queue_environment(params = {}) ⇒ Types::GetQueueEnvironmentResponse
Gets a queue environment.
4062 4063 4064 4065 |
# File 'lib/aws-sdk-deadline/client.rb', line 4062 def get_queue_environment(params = {}, = {}) req = build_request(:get_queue_environment, params) req.send_request() end |
#get_queue_fleet_association(params = {}) ⇒ Types::GetQueueFleetAssociationResponse
Gets a queue-fleet association.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* queue_fleet_association_stopped
4115 4116 4117 4118 |
# File 'lib/aws-sdk-deadline/client.rb', line 4115 def get_queue_fleet_association(params = {}, = {}) req = build_request(:get_queue_fleet_association, params) req.send_request() end |
#get_queue_limit_association(params = {}) ⇒ Types::GetQueueLimitAssociationResponse
Gets information about a specific association between a queue and a limit.
The following waiters are defined for this operation (see #wait_until for detailed usage):
* queue_limit_association_stopped
4170 4171 4172 4173 |
# File 'lib/aws-sdk-deadline/client.rb', line 4170 def get_queue_limit_association(params = {}, = {}) req = build_request(:get_queue_limit_association, params) req.send_request() end |
#get_session(params = {}) ⇒ Types::GetSessionResponse
Gets a session.
4248 4249 4250 4251 |
# File 'lib/aws-sdk-deadline/client.rb', line 4248 def get_session(params = {}, = {}) req = build_request(:get_session, params) req.send_request() end |
#get_session_action(params = {}) ⇒ Types::GetSessionActionResponse
Gets a session action for the job.
4324 4325 4326 4327 |
# File 'lib/aws-sdk-deadline/client.rb', line 4324 def get_session_action(params = {}, = {}) req = build_request(:get_session_action, params) req.send_request() end |
#get_sessions_statistics_aggregation(params = {}) ⇒ Types::GetSessionsStatisticsAggregationResponse
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4400 4401 4402 4403 |
# File 'lib/aws-sdk-deadline/client.rb', line 4400 def get_sessions_statistics_aggregation(params = {}, = {}) req = build_request(:get_sessions_statistics_aggregation, params) req.send_request() end |
#get_step(params = {}) ⇒ Types::GetStepResponse
Gets a step.
4494 4495 4496 4497 |
# File 'lib/aws-sdk-deadline/client.rb', line 4494 def get_step(params = {}, = {}) req = build_request(:get_step, params) req.send_request() end |
#get_storage_profile(params = {}) ⇒ Types::GetStorageProfileResponse
Gets a storage profile.
4543 4544 4545 4546 |
# File 'lib/aws-sdk-deadline/client.rb', line 4543 def get_storage_profile(params = {}, = {}) req = build_request(:get_storage_profile, params) req.send_request() end |
#get_storage_profile_for_queue(params = {}) ⇒ Types::GetStorageProfileForQueueResponse
Gets a storage profile for a queue.
4588 4589 4590 4591 |
# File 'lib/aws-sdk-deadline/client.rb', line 4588 def get_storage_profile_for_queue(params = {}, = {}) req = build_request(:get_storage_profile_for_queue, params) req.send_request() end |
#get_task(params = {}) ⇒ Types::GetTaskResponse
Gets a task.
4659 4660 4661 4662 |
# File 'lib/aws-sdk-deadline/client.rb', line 4659 def get_task(params = {}, = {}) req = build_request(:get_task, params) req.send_request() end |
#get_volume(params = {}) ⇒ Types::GetVolumeResponse
Gets a persistent volume.
4730 4731 4732 4733 |
# File 'lib/aws-sdk-deadline/client.rb', line 4730 def get_volume(params = {}, = {}) req = build_request(:get_volume, params) req.send_request() end |
#get_worker(params = {}) ⇒ Types::GetWorkerResponse
Gets a worker.
4795 4796 4797 4798 |
# File 'lib/aws-sdk-deadline/client.rb', line 4795 def get_worker(params = {}, = {}) req = build_request(:get_worker, params) req.send_request() end |
#list_available_metered_products(params = {}) ⇒ Types::ListAvailableMeteredProductsResponse
A list of the available metered products.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4837 4838 4839 4840 |
# File 'lib/aws-sdk-deadline/client.rb', line 4837 def list_available_metered_products(params = {}, = {}) req = build_request(:list_available_metered_products, params) req.send_request() end |
#list_budgets(params = {}) ⇒ Types::ListBudgetsResponse
A list of budgets in a farm.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4894 4895 4896 4897 |
# File 'lib/aws-sdk-deadline/client.rb', line 4894 def list_budgets(params = {}, = {}) req = build_request(:list_budgets, params) req.send_request() end |
#list_farm_members(params = {}) ⇒ Types::ListFarmMembersResponse
Lists the members of a farm.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4941 4942 4943 4944 |
# File 'lib/aws-sdk-deadline/client.rb', line 4941 def list_farm_members(params = {}, = {}) req = build_request(:list_farm_members, params) req.send_request() end |
#list_farms(params = {}) ⇒ Types::ListFarmsResponse
Lists farms.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4990 4991 4992 4993 |
# File 'lib/aws-sdk-deadline/client.rb', line 4990 def list_farms(params = {}, = {}) req = build_request(:list_farms, params) req.send_request() end |
#list_fleet_members(params = {}) ⇒ Types::ListFleetMembersResponse
Lists fleet members.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5042 5043 5044 5045 |
# File 'lib/aws-sdk-deadline/client.rb', line 5042 def list_fleet_members(params = {}, = {}) req = build_request(:list_fleet_members, params) req.send_request() end |
#list_fleets(params = {}) ⇒ Types::ListFleetsResponse
Lists fleets.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5178 5179 5180 5181 |
# File 'lib/aws-sdk-deadline/client.rb', line 5178 def list_fleets(params = {}, = {}) req = build_request(:list_fleets, params) req.send_request() end |
#list_job_members(params = {}) ⇒ Types::ListJobMembersResponse
Lists members on a job.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5235 5236 5237 5238 |
# File 'lib/aws-sdk-deadline/client.rb', line 5235 def list_job_members(params = {}, = {}) req = build_request(:list_job_members, params) req.send_request() end |
#list_job_parameter_definitions(params = {}) ⇒ Types::ListJobParameterDefinitionsResponse
Lists parameter definitions of a job.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5285 5286 5287 5288 |
# File 'lib/aws-sdk-deadline/client.rb', line 5285 def list_job_parameter_definitions(params = {}, = {}) req = build_request(:list_job_parameter_definitions, params) req.send_request() end |
#list_jobs(params = {}) ⇒ Types::ListJobsResponse
Lists jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5355 5356 5357 5358 |
# File 'lib/aws-sdk-deadline/client.rb', line 5355 def list_jobs(params = {}, = {}) req = build_request(:list_jobs, params) req.send_request() end |
#list_license_endpoints(params = {}) ⇒ Types::ListLicenseEndpointsResponse
Lists license endpoints.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5397 5398 5399 5400 |
# File 'lib/aws-sdk-deadline/client.rb', line 5397 def list_license_endpoints(params = {}, = {}) req = build_request(:list_license_endpoints, params) req.send_request() end |
#list_limits(params = {}) ⇒ Types::ListLimitsResponse
Gets a list of limits defined in the specified farm.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5448 5449 5450 5451 |
# File 'lib/aws-sdk-deadline/client.rb', line 5448 def list_limits(params = {}, = {}) req = build_request(:list_limits, params) req.send_request() end |
#list_metered_products(params = {}) ⇒ Types::ListMeteredProductsResponse
Lists metered products.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5494 5495 5496 5497 |
# File 'lib/aws-sdk-deadline/client.rb', line 5494 def list_metered_products(params = {}, = {}) req = build_request(:list_metered_products, params) req.send_request() end |
#list_monitors(params = {}) ⇒ Types::ListMonitorsResponse
Gets a list of your monitors in Deadline Cloud.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5544 5545 5546 5547 |
# File 'lib/aws-sdk-deadline/client.rb', line 5544 def list_monitors(params = {}, = {}) req = build_request(:list_monitors, params) req.send_request() end |
#list_queue_environments(params = {}) ⇒ Types::ListQueueEnvironmentsResponse
Lists queue environments.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5593 5594 5595 5596 |
# File 'lib/aws-sdk-deadline/client.rb', line 5593 def list_queue_environments(params = {}, = {}) req = build_request(:list_queue_environments, params) req.send_request() end |
#list_queue_fleet_associations(params = {}) ⇒ Types::ListQueueFleetAssociationsResponse
Lists queue-fleet associations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5650 5651 5652 5653 |
# File 'lib/aws-sdk-deadline/client.rb', line 5650 def list_queue_fleet_associations(params = {}, = {}) req = build_request(:list_queue_fleet_associations, params) req.send_request() end |
#list_queue_limit_associations(params = {}) ⇒ Types::ListQueueLimitAssociationsResponse
Gets a list of the associations between queues and limits defined in a farm.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5714 5715 5716 5717 |
# File 'lib/aws-sdk-deadline/client.rb', line 5714 def list_queue_limit_associations(params = {}, = {}) req = build_request(:list_queue_limit_associations, params) req.send_request() end |
#list_queue_members(params = {}) ⇒ Types::ListQueueMembersResponse
Lists the members in a queue.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5766 5767 5768 5769 |
# File 'lib/aws-sdk-deadline/client.rb', line 5766 def list_queue_members(params = {}, = {}) req = build_request(:list_queue_members, params) req.send_request() end |
#list_queues(params = {}) ⇒ Types::ListQueuesResponse
Lists queues.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5833 5834 5835 5836 |
# File 'lib/aws-sdk-deadline/client.rb', line 5833 def list_queues(params = {}, = {}) req = build_request(:list_queues, params) req.send_request() end |
#list_session_actions(params = {}) ⇒ Types::ListSessionActionsResponse
Lists session actions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5911 5912 5913 5914 |
# File 'lib/aws-sdk-deadline/client.rb', line 5911 def list_session_actions(params = {}, = {}) req = build_request(:list_session_actions, params) req.send_request() end |
#list_sessions(params = {}) ⇒ Types::ListSessionsResponse
Lists sessions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5970 5971 5972 5973 |
# File 'lib/aws-sdk-deadline/client.rb', line 5970 def list_sessions(params = {}, = {}) req = build_request(:list_sessions, params) req.send_request() end |
#list_sessions_for_worker(params = {}) ⇒ Types::ListSessionsForWorkerResponse
Lists sessions for a worker.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6027 6028 6029 6030 |
# File 'lib/aws-sdk-deadline/client.rb', line 6027 def list_sessions_for_worker(params = {}, = {}) req = build_request(:list_sessions_for_worker, params) req.send_request() end |
#list_step_consumers(params = {}) ⇒ Types::ListStepConsumersResponse
Lists step consumers.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6083 6084 6085 6086 |
# File 'lib/aws-sdk-deadline/client.rb', line 6083 def list_step_consumers(params = {}, = {}) req = build_request(:list_step_consumers, params) req.send_request() end |
#list_step_dependencies(params = {}) ⇒ Types::ListStepDependenciesResponse
Lists the dependencies for a step.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6139 6140 6141 6142 |
# File 'lib/aws-sdk-deadline/client.rb', line 6139 def list_step_dependencies(params = {}, = {}) req = build_request(:list_step_dependencies, params) req.send_request() end |
#list_steps(params = {}) ⇒ Types::ListStepsResponse
Lists steps for a job.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6208 6209 6210 6211 |
# File 'lib/aws-sdk-deadline/client.rb', line 6208 def list_steps(params = {}, = {}) req = build_request(:list_steps, params) req.send_request() end |
#list_storage_profiles(params = {}) ⇒ Types::ListStorageProfilesResponse
Lists storage profiles.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6253 6254 6255 6256 |
# File 'lib/aws-sdk-deadline/client.rb', line 6253 def list_storage_profiles(params = {}, = {}) req = build_request(:list_storage_profiles, params) req.send_request() end |
#list_storage_profiles_for_queue(params = {}) ⇒ Types::ListStorageProfilesForQueueResponse
Lists storage profiles for a queue.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6302 6303 6304 6305 |
# File 'lib/aws-sdk-deadline/client.rb', line 6302 def list_storage_profiles_for_queue(params = {}, = {}) req = build_request(:list_storage_profiles_for_queue, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists tags for a resource.
6331 6332 6333 6334 |
# File 'lib/aws-sdk-deadline/client.rb', line 6331 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_tasks(params = {}) ⇒ Types::ListTasksResponse
Lists tasks for a job.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6402 6403 6404 6405 |
# File 'lib/aws-sdk-deadline/client.rb', line 6402 def list_tasks(params = {}, = {}) req = build_request(:list_tasks, params) req.send_request() end |
#list_volumes(params = {}) ⇒ Types::ListVolumesResponse
Lists the persistent volumes in a fleet.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6463 6464 6465 6466 |
# File 'lib/aws-sdk-deadline/client.rb', line 6463 def list_volumes(params = {}, = {}) req = build_request(:list_volumes, params) req.send_request() end |
#list_workers(params = {}) ⇒ Types::ListWorkersResponse
Lists workers.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6530 6531 6532 6533 |
# File 'lib/aws-sdk-deadline/client.rb', line 6530 def list_workers(params = {}, = {}) req = build_request(:list_workers, params) req.send_request() end |
#put_metered_product(params = {}) ⇒ Struct
Adds a metered product.
6556 6557 6558 6559 |
# File 'lib/aws-sdk-deadline/client.rb', line 6556 def put_metered_product(params = {}, = {}) req = build_request(:put_metered_product, params) req.send_request() end |
#search_jobs(params = {}) ⇒ Types::SearchJobsResponse
Searches for jobs.
6681 6682 6683 6684 |
# File 'lib/aws-sdk-deadline/client.rb', line 6681 def search_jobs(params = {}, = {}) req = build_request(:search_jobs, params) req.send_request() end |
#search_steps(params = {}) ⇒ Types::SearchStepsResponse
Searches for steps.
6808 6809 6810 6811 |
# File 'lib/aws-sdk-deadline/client.rb', line 6808 def search_steps(params = {}, = {}) req = build_request(:search_steps, params) req.send_request() end |
#search_tasks(params = {}) ⇒ Types::SearchTasksResponse
Searches for tasks.
6929 6930 6931 6932 |
# File 'lib/aws-sdk-deadline/client.rb', line 6929 def search_tasks(params = {}, = {}) req = build_request(:search_tasks, params) req.send_request() end |
#search_workers(params = {}) ⇒ Types::SearchWorkersResponse
Searches for workers.
7042 7043 7044 7045 |
# File 'lib/aws-sdk-deadline/client.rb', line 7042 def search_workers(params = {}, = {}) req = build_request(:search_workers, params) req.send_request() end |
#start_sessions_statistics_aggregation(params = {}) ⇒ Types::StartSessionsStatisticsAggregationResponse
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.
7110 7111 7112 7113 |
# File 'lib/aws-sdk-deadline/client.rb', line 7110 def start_sessions_statistics_aggregation(params = {}, = {}) req = build_request(:start_sessions_statistics_aggregation, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tags a resource using the resource’s ARN and desired tags.
7139 7140 7141 7142 |
# File 'lib/aws-sdk-deadline/client.rb', line 7139 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes a tag from a resource using the resource’s ARN and tag to remove.
7166 7167 7168 7169 |
# File 'lib/aws-sdk-deadline/client.rb', line 7166 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_budget(params = {}) ⇒ Struct
Updates a budget that sets spending thresholds for rendering activity.
7258 7259 7260 7261 |
# File 'lib/aws-sdk-deadline/client.rb', line 7258 def update_budget(params = {}, = {}) req = build_request(:update_budget, params) req.send_request() end |
#update_farm(params = {}) ⇒ Struct
Updates a farm.
7303 7304 7305 7306 |
# File 'lib/aws-sdk-deadline/client.rb', line 7303 def update_farm(params = {}, = {}) req = build_request(:update_farm, params) req.send_request() end |
#update_fleet(params = {}) ⇒ Struct
Updates a fleet.
7496 7497 7498 7499 |
# File 'lib/aws-sdk-deadline/client.rb', line 7496 def update_fleet(params = {}, = {}) req = build_request(:update_fleet, params) req.send_request() end |
#update_job(params = {}) ⇒ Struct
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.
7587 7588 7589 7590 |
# File 'lib/aws-sdk-deadline/client.rb', line 7587 def update_job(params = {}, = {}) req = build_request(:update_job, params) req.send_request() end |
#update_limit(params = {}) ⇒ Struct
Updates the properties of the specified limit.
7643 7644 7645 7646 |
# File 'lib/aws-sdk-deadline/client.rb', line 7643 def update_limit(params = {}, = {}) req = build_request(:update_limit, params) req.send_request() end |
#update_monitor(params = {}) ⇒ Struct
Modifies the settings for a Deadline Cloud monitor. You can modify one or all of the settings when you call ‘UpdateMonitor`.
7682 7683 7684 7685 |
# File 'lib/aws-sdk-deadline/client.rb', line 7682 def update_monitor(params = {}, = {}) req = build_request(:update_monitor, params) req.send_request() end |
#update_monitor_settings(params = {}) ⇒ Struct
Updates the settings for a Deadline Cloud monitor. Keys present in the request are upserted; keys absent are left unchanged. Send an empty string value to delete a key.
7724 7725 7726 7727 |
# File 'lib/aws-sdk-deadline/client.rb', line 7724 def update_monitor_settings(params = {}, = {}) req = build_request(:update_monitor_settings, params) req.send_request() end |
#update_queue(params = {}) ⇒ Struct
Updates a queue.
7851 7852 7853 7854 |
# File 'lib/aws-sdk-deadline/client.rb', line 7851 def update_queue(params = {}, = {}) req = build_request(:update_queue, params) req.send_request() end |
#update_queue_environment(params = {}) ⇒ Struct
Updates the queue environment.
7901 7902 7903 7904 |
# File 'lib/aws-sdk-deadline/client.rb', line 7901 def update_queue_environment(params = {}, = {}) req = build_request(:update_queue_environment, params) req.send_request() end |
#update_queue_fleet_association(params = {}) ⇒ Struct
Updates a queue-fleet association.
7935 7936 7937 7938 |
# File 'lib/aws-sdk-deadline/client.rb', line 7935 def update_queue_fleet_association(params = {}, = {}) req = build_request(:update_queue_fleet_association, params) req.send_request() end |
#update_queue_limit_association(params = {}) ⇒ Struct
Updates the status of the queue. If you set the status to one of the ‘STOP_LIMIT_USAGE*` values, there will be a delay before the status transitions to the `STOPPED` state.
7974 7975 7976 7977 |
# File 'lib/aws-sdk-deadline/client.rb', line 7974 def update_queue_limit_association(params = {}, = {}) req = build_request(:update_queue_limit_association, params) req.send_request() end |
#update_session(params = {}) ⇒ Struct
Updates a session.
8020 8021 8022 8023 |
# File 'lib/aws-sdk-deadline/client.rb', line 8020 def update_session(params = {}, = {}) req = build_request(:update_session, params) req.send_request() end |
#update_step(params = {}) ⇒ Struct
Updates a step.
8066 8067 8068 8069 |
# File 'lib/aws-sdk-deadline/client.rb', line 8066 def update_step(params = {}, = {}) req = build_request(:update_step, params) req.send_request() end |
#update_storage_profile(params = {}) ⇒ Struct
Updates a storage profile.
8132 8133 8134 8135 |
# File 'lib/aws-sdk-deadline/client.rb', line 8132 def update_storage_profile(params = {}, = {}) req = build_request(:update_storage_profile, params) req.send_request() end |
#update_task(params = {}) ⇒ Struct
Updates a task.
8182 8183 8184 8185 |
# File 'lib/aws-sdk-deadline/client.rb', line 8182 def update_task(params = {}, = {}) req = build_request(:update_task, params) req.send_request() end |
#update_worker(params = {}) ⇒ Types::UpdateWorkerResponse
Updates a worker.
8257 8258 8259 8260 |
# File 'lib/aws-sdk-deadline/client.rb', line 8257 def update_worker(params = {}, = {}) req = build_request(:update_worker, params) req.send_request() end |
#update_worker_schedule(params = {}) ⇒ Types::UpdateWorkerScheduleResponse
Updates the schedule for a worker.
8342 8343 8344 8345 |
# File 'lib/aws-sdk-deadline/client.rb', line 8342 def update_worker_schedule(params = {}, = {}) req = build_request(:update_worker_schedule, params) req.send_request() end |
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
## Basic Usage
A waiter will call an API operation until:
-
It is successful
-
It enters a terminal state
-
It makes the maximum number of attempts
In between attempts, the waiter will sleep.
# polls in a loop, sleeping between attempts
client.wait_until(waiter_name, params)
## Configuration
You can configure the maximum number of polling attempts, and the delay (in seconds) between each polling attempt. You can pass configuration as the final arguments hash.
# poll for ~25 seconds
client.wait_until(waiter_name, params, {
max_attempts: 5,
delay: 5,
})
## Callbacks
You can be notified before each polling attempt and before each delay. If you throw ‘:success` or `:failure` from these callbacks, it will terminate the waiter.
started_at = Time.now
client.wait_until(waiter_name, params, {
# disable max attempts
max_attempts: nil,
# poll for 1 hour, instead of a number of attempts
before_wait: -> (attempts, response) do
throw :failure if Time.now - started_at > 3600
end
})
## Handling Errors
When a waiter is unsuccessful, it will raise an error. All of the failure errors extend from Waiters::Errors::WaiterFailed.
begin
client.wait_until(...)
rescue Aws::Waiters::Errors::WaiterFailed
# resource did not enter the desired state in time
end
## Valid Waiters
The following table lists the valid waiter names, the operations they call, and the default ‘:delay` and `:max_attempts` values.
| waiter_name | params | :delay | :max_attempts | | ——————————- | ———————————— | ——– | ————- | | fleet_active | #get_fleet | 5 | 180 | | job_complete | #get_job | 15 | 240 | | job_create_complete | #get_job | 1 | 120 | | job_succeeded | #get_job | 15 | 240 | | license_endpoint_deleted | #get_license_endpoint | 10 | 234 | | license_endpoint_valid | #get_license_endpoint | 10 | 114 | | queue_fleet_association_stopped | #get_queue_fleet_association | 10 | 60 | | queue_limit_association_stopped | #get_queue_limit_association | 10 | 60 | | queue_scheduling | #get_queue | 10 | 70 | | queue_scheduling_blocked | #get_queue | 10 | 30 |
8466 8467 8468 8469 8470 |
# File 'lib/aws-sdk-deadline/client.rb', line 8466 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
8474 8475 8476 |
# File 'lib/aws-sdk-deadline/client.rb', line 8474 def waiter_names waiters.keys end |