Class: Aws::Deadline::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Deadline::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-deadline/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.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
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_entity(params = {}) ⇒ Types::BatchGetJobEntityResponse
Get batched job details for a worker.
-
#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_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_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_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_storage_profile(params = {}) ⇒ Struct
Deletes a storage profile.
-
#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_monitor(params = {}) ⇒ Types::GetMonitorResponse
Gets information about the specified 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_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_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_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_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_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_monitor(params = {}) ⇒ Struct
Modifies 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_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.
Instance Method Summary collapse
-
#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.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
467 468 469 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 467 def initialize(*args) super end |
Instance Method Details
#associate_member_to_farm(params = {}) ⇒ Struct
Assigns a farm membership level to a member.
506 507 508 509 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 506 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.
548 549 550 551 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 548 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
594 595 596 597 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 594 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
636 637 638 639 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 636 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.
673 674 675 676 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 673 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.
712 713 714 715 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 712 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.
749 750 751 752 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 749 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.
784 785 786 787 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 784 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.
827 828 829 830 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 827 def assume_queue_role_for_worker(params = {}, = {}) req = build_request(:assume_queue_role_for_worker, params) req.send_request() end |
#batch_get_job_entity(params = {}) ⇒ Types::BatchGetJobEntityResponse
Get batched job details for a worker.
940 941 942 943 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 940 def batch_get_job_entity(params = {}, = {}) req = build_request(:batch_get_job_entity, params) req.send_request() end |
#copy_job_template(params = {}) ⇒ Types::CopyJobTemplateResponse
Copies a job template to an Amazon S3 bucket.
984 985 986 987 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 984 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.
1066 1067 1068 1069 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1066 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.
1130 1131 1132 1133 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1130 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.
1297 1298 1299 1300 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1297 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 AWS Deadline Cloud uses to schedule and run work on available workers. For more information, see Deadline Cloud jobs.
1407 1408 1409 1410 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1407 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.
1459 1460 1461 1462 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1459 def create_license_endpoint(params = {}, = {}) req = build_request(:create_license_endpoint, 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.
1522 1523 1524 1525 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1522 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.
1622 1623 1624 1625 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1622 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.
1677 1678 1679 1680 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1677 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.
1707 1708 1709 1710 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1707 def create_queue_fleet_association(params = {}, = {}) req = build_request(:create_queue_fleet_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.
1766 1767 1768 1769 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1766 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.
1820 1821 1822 1823 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1820 def create_worker(params = {}, = {}) req = build_request(:create_worker, params) req.send_request() end |
#delete_budget(params = {}) ⇒ Struct
Deletes a budget.
1846 1847 1848 1849 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1846 def delete_budget(params = {}, = {}) req = build_request(:delete_budget, params) req.send_request() end |
#delete_farm(params = {}) ⇒ Struct
Deletes a farm.
1868 1869 1870 1871 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1868 def delete_farm(params = {}, = {}) req = build_request(:delete_farm, params) req.send_request() end |
#delete_fleet(params = {}) ⇒ Struct
Deletes a fleet.
1902 1903 1904 1905 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1902 def delete_fleet(params = {}, = {}) req = build_request(:delete_fleet, params) req.send_request() end |
#delete_license_endpoint(params = {}) ⇒ Struct
Deletes a license endpoint.
1924 1925 1926 1927 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1924 def delete_license_endpoint(params = {}, = {}) req = build_request(:delete_license_endpoint, params) req.send_request() end |
#delete_metered_product(params = {}) ⇒ Struct
Deletes a metered product.
1951 1952 1953 1954 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1951 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.
1976 1977 1978 1979 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 1976 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.
2005 2006 2007 2008 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2005 def delete_queue(params = {}, = {}) req = build_request(:delete_queue, params) req.send_request() end |
#delete_queue_environment(params = {}) ⇒ Struct
Deletes a queue environment.
2035 2036 2037 2038 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2035 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.
2065 2066 2067 2068 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2065 def delete_queue_fleet_association(params = {}, = {}) req = build_request(:delete_queue_fleet_association, params) req.send_request() end |
#delete_storage_profile(params = {}) ⇒ Struct
Deletes a storage profile.
2091 2092 2093 2094 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2091 def delete_storage_profile(params = {}, = {}) req = build_request(:delete_storage_profile, params) req.send_request() end |
#delete_worker(params = {}) ⇒ Struct
Deletes a worker.
2121 2122 2123 2124 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2121 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.
2147 2148 2149 2150 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2147 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.
2177 2178 2179 2180 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2177 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.
2212 2213 2214 2215 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2212 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.
2243 2244 2245 2246 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2243 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.
2305 2306 2307 2308 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2305 def get_budget(params = {}, = {}) req = build_request(:get_budget, params) req.send_request() end |
#get_farm(params = {}) ⇒ Types::GetFarmResponse
Get a farm.
2347 2348 2349 2350 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2347 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
2471 2472 2473 2474 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2471 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_create_complete
2565 2566 2567 2568 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2565 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
2613 2614 2615 2616 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2613 def get_license_endpoint(params = {}, = {}) req = build_request(:get_license_endpoint, params) req.send_request() end |
#get_monitor(params = {}) ⇒ Types::GetMonitorResponse
Gets information about the specified monitor.
2662 2663 2664 2665 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2662 def get_monitor(params = {}, = {}) req = build_request(:get_monitor, 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
2737 2738 2739 2740 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2737 def get_queue(params = {}, = {}) req = build_request(:get_queue, params) req.send_request() end |
#get_queue_environment(params = {}) ⇒ Types::GetQueueEnvironmentResponse
Gets a queue environment.
2789 2790 2791 2792 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2789 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
2842 2843 2844 2845 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2842 def get_queue_fleet_association(params = {}, = {}) req = build_request(:get_queue_fleet_association, params) req.send_request() end |
#get_session(params = {}) ⇒ Types::GetSessionResponse
Gets a session.
2920 2921 2922 2923 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2920 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.
2987 2988 2989 2990 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 2987 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.
3063 3064 3065 3066 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3063 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.
3152 3153 3154 3155 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3152 def get_step(params = {}, = {}) req = build_request(:get_step, params) req.send_request() end |
#get_storage_profile(params = {}) ⇒ Types::GetStorageProfileResponse
Gets a storage profile.
3201 3202 3203 3204 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3201 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.
3246 3247 3248 3249 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3246 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.
3316 3317 3318 3319 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3316 def get_task(params = {}, = {}) req = build_request(:get_task, params) req.send_request() end |
#get_worker(params = {}) ⇒ Types::GetWorkerResponse
Gets a worker.
3381 3382 3383 3384 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3381 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.
3423 3424 3425 3426 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3423 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.
3480 3481 3482 3483 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3480 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.
3527 3528 3529 3530 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3527 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.
3576 3577 3578 3579 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3576 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.
3628 3629 3630 3631 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3628 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.
3748 3749 3750 3751 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3748 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.
3805 3806 3807 3808 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3805 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.
3855 3856 3857 3858 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3855 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.
3923 3924 3925 3926 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3923 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.
3965 3966 3967 3968 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 3965 def list_license_endpoints(params = {}, = {}) req = build_request(:list_license_endpoints, 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.
4011 4012 4013 4014 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4011 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.
4060 4061 4062 4063 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4060 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.
4109 4110 4111 4112 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4109 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.
4166 4167 4168 4169 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4166 def list_queue_fleet_associations(params = {}, = {}) req = build_request(:list_queue_fleet_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.
4218 4219 4220 4221 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4218 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.
4285 4286 4287 4288 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4285 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.
4354 4355 4356 4357 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4354 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.
4413 4414 4415 4416 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4413 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.
4470 4471 4472 4473 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4470 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.
4526 4527 4528 4529 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4526 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.
4582 4583 4584 4585 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4582 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.
4650 4651 4652 4653 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4650 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.
4695 4696 4697 4698 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4695 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.
4744 4745 4746 4747 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4744 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.
4773 4774 4775 4776 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4773 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.
4843 4844 4845 4846 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4843 def list_tasks(params = {}, = {}) req = build_request(:list_tasks, 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.
4910 4911 4912 4913 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4910 def list_workers(params = {}, = {}) req = build_request(:list_workers, params) req.send_request() end |
#put_metered_product(params = {}) ⇒ Struct
Adds a metered product.
4936 4937 4938 4939 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 4936 def put_metered_product(params = {}, = {}) req = build_request(:put_metered_product, params) req.send_request() end |
#search_jobs(params = {}) ⇒ Types::SearchJobsResponse
Searches for jobs.
5054 5055 5056 5057 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5054 def search_jobs(params = {}, = {}) req = build_request(:search_jobs, params) req.send_request() end |
#search_steps(params = {}) ⇒ Types::SearchStepsResponse
Searches for steps.
5171 5172 5173 5174 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5171 def search_steps(params = {}, = {}) req = build_request(:search_steps, params) req.send_request() end |
#search_tasks(params = {}) ⇒ Types::SearchTasksResponse
Searches for tasks.
5285 5286 5287 5288 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5285 def search_tasks(params = {}, = {}) req = build_request(:search_tasks, params) req.send_request() end |
#search_workers(params = {}) ⇒ Types::SearchWorkersResponse
Searches for workers.
5395 5396 5397 5398 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5395 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.
5463 5464 5465 5466 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5463 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.
5492 5493 5494 5495 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5492 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.
5519 5520 5521 5522 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5519 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.
5611 5612 5613 5614 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5611 def update_budget(params = {}, = {}) req = build_request(:update_budget, params) req.send_request() end |
#update_farm(params = {}) ⇒ Struct
Updates a farm.
5649 5650 5651 5652 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5649 def update_farm(params = {}, = {}) req = build_request(:update_farm, params) req.send_request() end |
#update_fleet(params = {}) ⇒ Struct
Updates a fleet.
5803 5804 5805 5806 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5803 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.
5872 5873 5874 5875 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5872 def update_job(params = {}, = {}) req = build_request(:update_job, 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
.
5912 5913 5914 5915 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 5912 def update_monitor(params = {}, = {}) req = build_request(:update_monitor, params) req.send_request() end |
#update_queue(params = {}) ⇒ Struct
Updates a queue.
6007 6008 6009 6010 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 6007 def update_queue(params = {}, = {}) req = build_request(:update_queue, params) req.send_request() end |
#update_queue_environment(params = {}) ⇒ Struct
Updates the queue environment.
6057 6058 6059 6060 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 6057 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.
6091 6092 6093 6094 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 6091 def update_queue_fleet_association(params = {}, = {}) req = build_request(:update_queue_fleet_association, params) req.send_request() end |
#update_session(params = {}) ⇒ Struct
Updates a session.
6137 6138 6139 6140 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 6137 def update_session(params = {}, = {}) req = build_request(:update_session, params) req.send_request() end |
#update_step(params = {}) ⇒ Struct
Updates a step.
6183 6184 6185 6186 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 6183 def update_step(params = {}, = {}) req = build_request(:update_step, params) req.send_request() end |
#update_storage_profile(params = {}) ⇒ Struct
Updates a storage profile.
6249 6250 6251 6252 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 6249 def update_storage_profile(params = {}, = {}) req = build_request(:update_storage_profile, params) req.send_request() end |
#update_task(params = {}) ⇒ Struct
Updates a task.
6299 6300 6301 6302 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 6299 def update_task(params = {}, = {}) req = build_request(:update_task, params) req.send_request() end |
#update_worker(params = {}) ⇒ Types::UpdateWorkerResponse
Updates a worker.
6371 6372 6373 6374 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 6371 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.
6449 6450 6451 6452 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 6449 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_create_complete | #get_job | 1 | 120 |
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_scheduling | #get_queue | 10 | 70 |
queue_scheduling_blocked | #get_queue | 10 | 30 |
6570 6571 6572 6573 6574 |
# File 'gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb', line 6570 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |