aws-sdk-deadline 1.50.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fc00b0a98a0ee452fa466c661fd3b68d19129ef6dbe72ac36d7c1ec7acf72443
4
- data.tar.gz: 0ad1e25e87f14eb496ccffd25ab4f9fe4a1bd86c4e5496b9878cee845d047ea7
3
+ metadata.gz: 77d70c5cd45cd7ce38099023c574b53fcb9564a6c43529fc5e379fb04ef05d07
4
+ data.tar.gz: e943fb9fabbf2ce7c12c01441235348978d1fef8ce3143c46cf9ab5f0f9243d8
5
5
  SHA512:
6
- metadata.gz: f532532fc533cb289b907bba7a7be1d9894845ff98bdfd652c7d1305097ebe1c2ef25a512842dd0f2b0aa3d7a3458c7b06822c29b31e63b585abc19ae8d21b63
7
- data.tar.gz: b32f52013f3eb8998ff87bd23150c8d9f9ece9f962a2601e1eae38dd53968f58904de4aa9a4385662dd2ba9c4fe316165057b120d6e973382302c85909859867
6
+ metadata.gz: 2c2c2d4832f9878255eabf5ff894913e6a6dc3ff661987de3f4e31ce783443c282847a8007355d4a00df99345af859b4e431014fb26d0f0f82cc9cf294b2e15c
7
+ data.tar.gz: 6405cbf74a377e195def2b4d55bac261cf04ce69380fc912377cf4cf3e3d06a9005b37fddc753b58d98a0620a7bdd87edda8ca995c885c196cd641c9eb2dda6a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2026-04-13)
5
+ ------------------
6
+
7
+ * Feature - Adds GetMonitorSettings and UpdateMonitorSettings APIs to Deadline Cloud. Enables reading and writing monitor settings as key-value pairs (up to 64 keys per monitor). UpdateMonitorSettings supports upsert and delete (via empty value) semantics and is idempotent.
8
+
4
9
  1.50.0 (2026-04-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -3823,6 +3823,44 @@ module Aws::Deadline
3823
3823
  req.send_request(options)
3824
3824
  end
3825
3825
 
3826
+ # Gets the settings for a Deadline Cloud monitor.
3827
+ #
3828
+ # @option params [required, String] :monitor_id
3829
+ # The unique identifier of the monitor. This ID is returned by the
3830
+ # `CreateMonitor` operation, and is included in the response to the
3831
+ # `GetMonitor` operation.
3832
+ #
3833
+ # @return [Types::GetMonitorSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3834
+ #
3835
+ # * {Types::GetMonitorSettingsResponse#settings #settings} => Hash<String,String>
3836
+ #
3837
+ #
3838
+ # @example Example: Get monitor settings
3839
+ #
3840
+ # resp = client.get_monitor_settings({
3841
+ # monitor_id: "monitor-1234567890abcdef1234567890abcdef",
3842
+ # })
3843
+ #
3844
+ # @example Request syntax with placeholder values
3845
+ #
3846
+ # resp = client.get_monitor_settings({
3847
+ # monitor_id: "MonitorId", # required
3848
+ # })
3849
+ #
3850
+ # @example Response structure
3851
+ #
3852
+ # resp.settings #=> Hash
3853
+ # resp.settings["SettingKey"] #=> String
3854
+ #
3855
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetMonitorSettings AWS API Documentation
3856
+ #
3857
+ # @overload get_monitor_settings(params = {})
3858
+ # @param [Hash] params ({})
3859
+ def get_monitor_settings(params = {}, options = {})
3860
+ req = build_request(:get_monitor_settings, params)
3861
+ req.send_request(options)
3862
+ end
3863
+
3826
3864
  # Gets a queue.
3827
3865
  #
3828
3866
  # @option params [required, String] :farm_id
@@ -7433,6 +7471,48 @@ module Aws::Deadline
7433
7471
  req.send_request(options)
7434
7472
  end
7435
7473
 
7474
+ # Updates the settings for a Deadline Cloud monitor. Keys present in the
7475
+ # request are upserted; keys absent are left unchanged. Send an empty
7476
+ # string value to delete a key.
7477
+ #
7478
+ # @option params [required, String] :monitor_id
7479
+ # The unique identifier of the monitor to update settings for.
7480
+ #
7481
+ # @option params [required, Hash<String,String>] :settings
7482
+ # Monitor settings as key-value pairs. Keys present in the request are
7483
+ # upserted; keys absent are left unchanged. Send an empty string value
7484
+ # to delete a key.
7485
+ #
7486
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
7487
+ #
7488
+ #
7489
+ # @example Example: Update monitor settings
7490
+ #
7491
+ # resp = client.update_monitor_settings({
7492
+ # monitor_id: "monitor-1234567890abcdef1234567890abcdef",
7493
+ # settings: {
7494
+ # "idcApplicationArn" => "arn:aws:sso::123456789012:application/ins-1234567890abcdef/apl-1234567890abcdef",
7495
+ # },
7496
+ # })
7497
+ #
7498
+ # @example Request syntax with placeholder values
7499
+ #
7500
+ # resp = client.update_monitor_settings({
7501
+ # monitor_id: "MonitorId", # required
7502
+ # settings: { # required
7503
+ # "SettingKey" => "SettingValue",
7504
+ # },
7505
+ # })
7506
+ #
7507
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateMonitorSettings AWS API Documentation
7508
+ #
7509
+ # @overload update_monitor_settings(params = {})
7510
+ # @param [Hash] params ({})
7511
+ def update_monitor_settings(params = {}, options = {})
7512
+ req = build_request(:update_monitor_settings, params)
7513
+ req.send_request(options)
7514
+ end
7515
+
7436
7516
  # Updates a queue.
7437
7517
  #
7438
7518
  # @option params [required, String] :farm_id
@@ -8069,7 +8149,7 @@ module Aws::Deadline
8069
8149
  tracer: tracer
8070
8150
  )
8071
8151
  context[:gem_name] = 'aws-sdk-deadline'
8072
- context[:gem_version] = '1.50.0'
8152
+ context[:gem_version] = '1.51.0'
8073
8153
  Seahorse::Client::Request.new(handlers, context)
8074
8154
  end
8075
8155
 
@@ -303,6 +303,8 @@ module Aws::Deadline
303
303
  GetLimitResponse = Shapes::StructureShape.new(name: 'GetLimitResponse')
304
304
  GetMonitorRequest = Shapes::StructureShape.new(name: 'GetMonitorRequest')
305
305
  GetMonitorResponse = Shapes::StructureShape.new(name: 'GetMonitorResponse')
306
+ GetMonitorSettingsRequest = Shapes::StructureShape.new(name: 'GetMonitorSettingsRequest')
307
+ GetMonitorSettingsResponse = Shapes::StructureShape.new(name: 'GetMonitorSettingsResponse')
306
308
  GetQueueEnvironmentRequest = Shapes::StructureShape.new(name: 'GetQueueEnvironmentRequest')
307
309
  GetQueueEnvironmentResponse = Shapes::StructureShape.new(name: 'GetQueueEnvironmentResponse')
308
310
  GetQueueFleetAssociationRequest = Shapes::StructureShape.new(name: 'GetQueueFleetAssociationRequest')
@@ -600,6 +602,9 @@ module Aws::Deadline
600
602
  SessionsStatisticsResources = Shapes::UnionShape.new(name: 'SessionsStatisticsResources')
601
603
  SessionsStatisticsResourcesFleetIdsList = Shapes::ListShape.new(name: 'SessionsStatisticsResourcesFleetIdsList')
602
604
  SessionsStatisticsResourcesQueueIdsList = Shapes::ListShape.new(name: 'SessionsStatisticsResourcesQueueIdsList')
605
+ SettingKey = Shapes::StringShape.new(name: 'SettingKey')
606
+ SettingValue = Shapes::StringShape.new(name: 'SettingValue')
607
+ SettingsMap = Shapes::MapShape.new(name: 'SettingsMap')
603
608
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
604
609
  StartSessionsStatisticsAggregationRequest = Shapes::StructureShape.new(name: 'StartSessionsStatisticsAggregationRequest')
605
610
  StartSessionsStatisticsAggregationResponse = Shapes::StructureShape.new(name: 'StartSessionsStatisticsAggregationResponse')
@@ -695,6 +700,8 @@ module Aws::Deadline
695
700
  UpdateLimitResponse = Shapes::StructureShape.new(name: 'UpdateLimitResponse')
696
701
  UpdateMonitorRequest = Shapes::StructureShape.new(name: 'UpdateMonitorRequest')
697
702
  UpdateMonitorResponse = Shapes::StructureShape.new(name: 'UpdateMonitorResponse')
703
+ UpdateMonitorSettingsRequest = Shapes::StructureShape.new(name: 'UpdateMonitorSettingsRequest')
704
+ UpdateMonitorSettingsResponse = Shapes::StructureShape.new(name: 'UpdateMonitorSettingsResponse')
698
705
  UpdateQueueEnvironmentRequest = Shapes::StructureShape.new(name: 'UpdateQueueEnvironmentRequest')
699
706
  UpdateQueueEnvironmentResponse = Shapes::StructureShape.new(name: 'UpdateQueueEnvironmentResponse')
700
707
  UpdateQueueFleetAssociationRequest = Shapes::StructureShape.new(name: 'UpdateQueueFleetAssociationRequest')
@@ -1910,6 +1917,12 @@ module Aws::Deadline
1910
1917
  GetMonitorResponse.add_member(:updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "updatedBy"))
1911
1918
  GetMonitorResponse.struct_class = Types::GetMonitorResponse
1912
1919
 
1920
+ GetMonitorSettingsRequest.add_member(:monitor_id, Shapes::ShapeRef.new(shape: MonitorId, required: true, location: "uri", location_name: "monitorId"))
1921
+ GetMonitorSettingsRequest.struct_class = Types::GetMonitorSettingsRequest
1922
+
1923
+ GetMonitorSettingsResponse.add_member(:settings, Shapes::ShapeRef.new(shape: SettingsMap, required: true, location_name: "settings"))
1924
+ GetMonitorSettingsResponse.struct_class = Types::GetMonitorSettingsResponse
1925
+
1913
1926
  GetQueueEnvironmentRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
1914
1927
  GetQueueEnvironmentRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
1915
1928
  GetQueueEnvironmentRequest.add_member(:queue_environment_id, Shapes::ShapeRef.new(shape: QueueEnvironmentId, required: true, location: "uri", location_name: "queueEnvironmentId"))
@@ -2992,6 +3005,9 @@ module Aws::Deadline
2992
3005
 
2993
3006
  SessionsStatisticsResourcesQueueIdsList.member = Shapes::ShapeRef.new(shape: QueueId)
2994
3007
 
3008
+ SettingsMap.key = Shapes::ShapeRef.new(shape: SettingKey)
3009
+ SettingsMap.value = Shapes::ShapeRef.new(shape: SettingValue)
3010
+
2995
3011
  StartSessionsStatisticsAggregationRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2996
3012
  StartSessionsStatisticsAggregationRequest.add_member(:resource_ids, Shapes::ShapeRef.new(shape: SessionsStatisticsResources, required: true, location_name: "resourceIds"))
2997
3013
  StartSessionsStatisticsAggregationRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "startTime"))
@@ -3321,6 +3337,12 @@ module Aws::Deadline
3321
3337
 
3322
3338
  UpdateMonitorResponse.struct_class = Types::UpdateMonitorResponse
3323
3339
 
3340
+ UpdateMonitorSettingsRequest.add_member(:monitor_id, Shapes::ShapeRef.new(shape: MonitorId, required: true, location: "uri", location_name: "monitorId"))
3341
+ UpdateMonitorSettingsRequest.add_member(:settings, Shapes::ShapeRef.new(shape: SettingsMap, required: true, location_name: "settings"))
3342
+ UpdateMonitorSettingsRequest.struct_class = Types::UpdateMonitorSettingsRequest
3343
+
3344
+ UpdateMonitorSettingsResponse.struct_class = Types::UpdateMonitorSettingsResponse
3345
+
3324
3346
  UpdateQueueEnvironmentRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
3325
3347
  UpdateQueueEnvironmentRequest.add_member(:queue_id, Shapes::ShapeRef.new(shape: QueueId, required: true, location: "uri", location_name: "queueId"))
3326
3348
  UpdateQueueEnvironmentRequest.add_member(:queue_environment_id, Shapes::ShapeRef.new(shape: QueueEnvironmentId, required: true, location: "uri", location_name: "queueEnvironmentId"))
@@ -4471,6 +4493,22 @@ module Aws::Deadline
4471
4493
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4472
4494
  end)
4473
4495
 
4496
+ api.add_operation(:get_monitor_settings, Seahorse::Model::Operation.new.tap do |o|
4497
+ o.name = "GetMonitorSettings"
4498
+ o.http_method = "GET"
4499
+ o.http_request_uri = "/2023-10-12/monitors/{monitorId}/settings"
4500
+ o.endpoint_pattern = {
4501
+ "hostPrefix" => "management.",
4502
+ }
4503
+ o.input = Shapes::ShapeRef.new(shape: GetMonitorSettingsRequest)
4504
+ o.output = Shapes::ShapeRef.new(shape: GetMonitorSettingsResponse)
4505
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4506
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
4507
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4508
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4509
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4510
+ end)
4511
+
4474
4512
  api.add_operation(:get_queue, Seahorse::Model::Operation.new.tap do |o|
4475
4513
  o.name = "GetQueue"
4476
4514
  o.http_method = "GET"
@@ -5522,6 +5560,22 @@ module Aws::Deadline
5522
5560
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5523
5561
  end)
5524
5562
 
5563
+ api.add_operation(:update_monitor_settings, Seahorse::Model::Operation.new.tap do |o|
5564
+ o.name = "UpdateMonitorSettings"
5565
+ o.http_method = "PATCH"
5566
+ o.http_request_uri = "/2023-10-12/monitors/{monitorId}/settings"
5567
+ o.endpoint_pattern = {
5568
+ "hostPrefix" => "management.",
5569
+ }
5570
+ o.input = Shapes::ShapeRef.new(shape: UpdateMonitorSettingsRequest)
5571
+ o.output = Shapes::ShapeRef.new(shape: UpdateMonitorSettingsResponse)
5572
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5573
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
5574
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5575
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5576
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5577
+ end)
5578
+
5525
5579
  api.add_operation(:update_queue, Seahorse::Model::Operation.new.tap do |o|
5526
5580
  o.name = "UpdateQueue"
5527
5581
  o.http_method = "PATCH"
@@ -5255,6 +5255,32 @@ module Aws::Deadline
5255
5255
  include Aws::Structure
5256
5256
  end
5257
5257
 
5258
+ # @!attribute [rw] monitor_id
5259
+ # The unique identifier of the monitor. This ID is returned by the
5260
+ # `CreateMonitor` operation, and is included in the response to the
5261
+ # `GetMonitor` operation.
5262
+ # @return [String]
5263
+ #
5264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetMonitorSettingsRequest AWS API Documentation
5265
+ #
5266
+ class GetMonitorSettingsRequest < Struct.new(
5267
+ :monitor_id)
5268
+ SENSITIVE = []
5269
+ include Aws::Structure
5270
+ end
5271
+
5272
+ # @!attribute [rw] settings
5273
+ # Monitor settings as key-value pairs.
5274
+ # @return [Hash<String,String>]
5275
+ #
5276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetMonitorSettingsResponse AWS API Documentation
5277
+ #
5278
+ class GetMonitorSettingsResponse < Struct.new(
5279
+ :settings)
5280
+ SENSITIVE = []
5281
+ include Aws::Structure
5282
+ end
5283
+
5258
5284
  # @!attribute [rw] farm_id
5259
5285
  # The farm ID for the queue environment.
5260
5286
  # @return [String]
@@ -11914,6 +11940,29 @@ module Aws::Deadline
11914
11940
  #
11915
11941
  class UpdateMonitorResponse < Aws::EmptyStructure; end
11916
11942
 
11943
+ # @!attribute [rw] monitor_id
11944
+ # The unique identifier of the monitor to update settings for.
11945
+ # @return [String]
11946
+ #
11947
+ # @!attribute [rw] settings
11948
+ # Monitor settings as key-value pairs. Keys present in the request are
11949
+ # upserted; keys absent are left unchanged. Send an empty string value
11950
+ # to delete a key.
11951
+ # @return [Hash<String,String>]
11952
+ #
11953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateMonitorSettingsRequest AWS API Documentation
11954
+ #
11955
+ class UpdateMonitorSettingsRequest < Struct.new(
11956
+ :monitor_id,
11957
+ :settings)
11958
+ SENSITIVE = []
11959
+ include Aws::Structure
11960
+ end
11961
+
11962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/UpdateMonitorSettingsResponse AWS API Documentation
11963
+ #
11964
+ class UpdateMonitorSettingsResponse < Aws::EmptyStructure; end
11965
+
11917
11966
  # @!attribute [rw] farm_id
11918
11967
  # The farm ID of the queue environment to update.
11919
11968
  # @return [String]
@@ -55,7 +55,7 @@ module Aws::Deadline
55
55
  autoload :EndpointProvider, 'aws-sdk-deadline/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-deadline/endpoints'
57
57
 
58
- GEM_VERSION = '1.50.0'
58
+ GEM_VERSION = '1.51.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -1122,6 +1122,16 @@ module Aws
1122
1122
  ) -> _GetMonitorResponseSuccess
1123
1123
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMonitorResponseSuccess
1124
1124
 
1125
+ interface _GetMonitorSettingsResponseSuccess
1126
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetMonitorSettingsResponse]
1127
+ def settings: () -> ::Hash[::String, ::String]
1128
+ end
1129
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#get_monitor_settings-instance_method
1130
+ def get_monitor_settings: (
1131
+ monitor_id: ::String
1132
+ ) -> _GetMonitorSettingsResponseSuccess
1133
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMonitorSettingsResponseSuccess
1134
+
1125
1135
  interface _GetQueueResponseSuccess
1126
1136
  include ::Seahorse::Client::_ResponseSuccess[Types::GetQueueResponse]
1127
1137
  def farm_id: () -> ::String
@@ -2304,6 +2314,16 @@ module Aws
2304
2314
  ) -> _UpdateMonitorResponseSuccess
2305
2315
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMonitorResponseSuccess
2306
2316
 
2317
+ interface _UpdateMonitorSettingsResponseSuccess
2318
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMonitorSettingsResponse]
2319
+ end
2320
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#update_monitor_settings-instance_method
2321
+ def update_monitor_settings: (
2322
+ monitor_id: ::String,
2323
+ settings: Hash[::String, ::String]
2324
+ ) -> _UpdateMonitorSettingsResponseSuccess
2325
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMonitorSettingsResponseSuccess
2326
+
2307
2327
  interface _UpdateQueueResponseSuccess
2308
2328
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateQueueResponse]
2309
2329
  end
data/sig/types.rbs CHANGED
@@ -1413,6 +1413,16 @@ module Aws::Deadline
1413
1413
  SENSITIVE: []
1414
1414
  end
1415
1415
 
1416
+ class GetMonitorSettingsRequest
1417
+ attr_accessor monitor_id: ::String
1418
+ SENSITIVE: []
1419
+ end
1420
+
1421
+ class GetMonitorSettingsResponse
1422
+ attr_accessor settings: ::Hash[::String, ::String]
1423
+ SENSITIVE: []
1424
+ end
1425
+
1416
1426
  class GetQueueEnvironmentRequest
1417
1427
  attr_accessor farm_id: ::String
1418
1428
  attr_accessor queue_id: ::String
@@ -3153,6 +3163,15 @@ module Aws::Deadline
3153
3163
  class UpdateMonitorResponse < Aws::EmptyStructure
3154
3164
  end
3155
3165
 
3166
+ class UpdateMonitorSettingsRequest
3167
+ attr_accessor monitor_id: ::String
3168
+ attr_accessor settings: ::Hash[::String, ::String]
3169
+ SENSITIVE: []
3170
+ end
3171
+
3172
+ class UpdateMonitorSettingsResponse < Aws::EmptyStructure
3173
+ end
3174
+
3156
3175
  class UpdateQueueEnvironmentRequest
3157
3176
  attr_accessor farm_id: ::String
3158
3177
  attr_accessor queue_id: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-deadline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services