aws-sdk-deadline 1.22.0 → 1.23.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: 8de749433c14ca7db11da737c889edf6453081fcb25e94a5074e9fa71c585d51
4
- data.tar.gz: 41e5c453ed9e9fe7425b25c8997c98124917cf442bc3c0d0e5d25b708071a85a
3
+ metadata.gz: 91530cd74aed3270b8e51012232ec8696bc8118186cb75f1bccec6910779acba
4
+ data.tar.gz: b34cb73fc604aec20e20d89797909154cbcccfb17573aaadda4fc1247c2d93ac
5
5
  SHA512:
6
- metadata.gz: dc95e67bc15ae9eb7ac6823452d0b10453ea34d388cd44956ee64a25392e5ccc8535382abcc181e28923598c3c33218fbf67f37471c39d8f67ab0bf580ea5290
7
- data.tar.gz: c2e4305db33706041b9efc59539e6ba7f767769e2396bc6364c4eb0b1c702b6432a329e5699ecd0ba4a162f5093bae7d41ee299f3e92fe8259101cd6aacb72f5
6
+ metadata.gz: a9227eda346b7ad13831a6421b00932fb21e4d99f84753ba058bab9a47d872f5cda08b3f0eec384479c2db897cc3b3fb619d342720ee78102a156e29ff7b1c89
7
+ data.tar.gz: 041cafdc9f5350dbbd0c7b3f5eb68ce2da2fb60be489a0b708f0aaf1ff747e31bf0421dbba5e86b903ed11c0e10731bf3e26cfd528da4bfa9f712ac412b59670
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.23.0 (2025-04-30)
5
+ ------------------
6
+
7
+ * Feature - Adds support for tag management on workers and tag inheritance from fleets to their associated workers.
8
+
4
9
  1.22.0 (2025-03-31)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.22.0
1
+ 1.23.0
@@ -1230,6 +1230,7 @@ module Aws::Deadline
1230
1230
  # ],
1231
1231
  # },
1232
1232
  # storage_profile_id: "StorageProfileId",
1233
+ # tag_propagation_mode: "NO_PROPAGATION", # accepts NO_PROPAGATION, PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH
1233
1234
  # },
1234
1235
  # service_managed_ec2: {
1235
1236
  # instance_capabilities: { # required
@@ -1913,6 +1914,10 @@ module Aws::Deadline
1913
1914
  # **A suitable default value is auto-generated.** You should normally
1914
1915
  # not need to pass this option.**
1915
1916
  #
1917
+ # @option params [Hash<String,String>] :tags
1918
+ # Each tag consists of a tag key and a tag value. Tag keys and values
1919
+ # are both required, but tag values can be empty strings.
1920
+ #
1916
1921
  # @return [Types::CreateWorkerResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1917
1922
  #
1918
1923
  # * {Types::CreateWorkerResponse#worker_id #worker_id} => String
@@ -1930,6 +1935,9 @@ module Aws::Deadline
1930
1935
  # host_name: "HostName",
1931
1936
  # },
1932
1937
  # client_token: "ClientToken",
1938
+ # tags: {
1939
+ # "String" => "String",
1940
+ # },
1933
1941
  # })
1934
1942
  #
1935
1943
  # @example Response structure
@@ -2605,6 +2613,7 @@ module Aws::Deadline
2605
2613
  # resp.configuration.customer_managed.worker_capabilities.custom_attributes[0].values #=> Array
2606
2614
  # resp.configuration.customer_managed.worker_capabilities.custom_attributes[0].values[0] #=> String
2607
2615
  # resp.configuration.customer_managed.storage_profile_id #=> String
2616
+ # resp.configuration.customer_managed.tag_propagation_mode #=> String, one of "NO_PROPAGATION", "PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH"
2608
2617
  # resp.configuration.service_managed_ec2.instance_capabilities.v_cpu_count.min #=> Integer
2609
2618
  # resp.configuration.service_managed_ec2.instance_capabilities.v_cpu_count.max #=> Integer
2610
2619
  # resp.configuration.service_managed_ec2.instance_capabilities.memory_mi_b.min #=> Integer
@@ -4008,6 +4017,7 @@ module Aws::Deadline
4008
4017
  # resp.fleets[0].configuration.customer_managed.worker_capabilities.custom_attributes[0].values #=> Array
4009
4018
  # resp.fleets[0].configuration.customer_managed.worker_capabilities.custom_attributes[0].values[0] #=> String
4010
4019
  # resp.fleets[0].configuration.customer_managed.storage_profile_id #=> String
4020
+ # resp.fleets[0].configuration.customer_managed.tag_propagation_mode #=> String, one of "NO_PROPAGATION", "PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH"
4011
4021
  # resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.v_cpu_count.min #=> Integer
4012
4022
  # resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.v_cpu_count.max #=> Integer
4013
4023
  # resp.fleets[0].configuration.service_managed_ec2.instance_capabilities.memory_mi_b.min #=> Integer
@@ -6164,6 +6174,7 @@ module Aws::Deadline
6164
6174
  # ],
6165
6175
  # },
6166
6176
  # storage_profile_id: "StorageProfileId",
6177
+ # tag_propagation_mode: "NO_PROPAGATION", # accepts NO_PROPAGATION, PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH
6167
6178
  # },
6168
6179
  # service_managed_ec2: {
6169
6180
  # instance_capabilities: { # required
@@ -6999,7 +7010,7 @@ module Aws::Deadline
6999
7010
  tracer: tracer
7000
7011
  )
7001
7012
  context[:gem_name] = 'aws-sdk-deadline'
7002
- context[:gem_version] = '1.22.0'
7013
+ context[:gem_version] = '1.23.0'
7003
7014
  Seahorse::Client::Request.new(handlers, context)
7004
7015
  end
7005
7016
 
@@ -555,6 +555,7 @@ module Aws::Deadline
555
555
  SyncInputJobAttachmentsSessionActionDefinition = Shapes::StructureShape.new(name: 'SyncInputJobAttachmentsSessionActionDefinition')
556
556
  SyncInputJobAttachmentsSessionActionDefinitionSummary = Shapes::StructureShape.new(name: 'SyncInputJobAttachmentsSessionActionDefinitionSummary')
557
557
  SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
558
+ TagPropagationMode = Shapes::StringShape.new(name: 'TagPropagationMode')
558
559
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
559
560
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
560
561
  Tags = Shapes::MapShape.new(name: 'Tags')
@@ -1030,6 +1031,7 @@ module Aws::Deadline
1030
1031
  CreateWorkerRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location: "uri", location_name: "fleetId"))
1031
1032
  CreateWorkerRequest.add_member(:host_properties, Shapes::ShapeRef.new(shape: HostPropertiesRequest, location_name: "hostProperties"))
1032
1033
  CreateWorkerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "header", location_name: "X-Amz-Client-Token", metadata: {"idempotencyToken"=>true}))
1034
+ CreateWorkerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1033
1035
  CreateWorkerRequest.struct_class = Types::CreateWorkerRequest
1034
1036
 
1035
1037
  CreateWorkerResponse.add_member(:worker_id, Shapes::ShapeRef.new(shape: WorkerId, required: true, location_name: "workerId"))
@@ -1042,6 +1044,7 @@ module Aws::Deadline
1042
1044
  CustomerManagedFleetConfiguration.add_member(:mode, Shapes::ShapeRef.new(shape: AutoScalingMode, required: true, location_name: "mode"))
1043
1045
  CustomerManagedFleetConfiguration.add_member(:worker_capabilities, Shapes::ShapeRef.new(shape: CustomerManagedWorkerCapabilities, required: true, location_name: "workerCapabilities"))
1044
1046
  CustomerManagedFleetConfiguration.add_member(:storage_profile_id, Shapes::ShapeRef.new(shape: StorageProfileId, location_name: "storageProfileId"))
1047
+ CustomerManagedFleetConfiguration.add_member(:tag_propagation_mode, Shapes::ShapeRef.new(shape: TagPropagationMode, location_name: "tagPropagationMode"))
1045
1048
  CustomerManagedFleetConfiguration.struct_class = Types::CustomerManagedFleetConfiguration
1046
1049
 
1047
1050
  CustomerManagedWorkerCapabilities.add_member(:v_cpu_count, Shapes::ShapeRef.new(shape: VCpuCountRange, required: true, location_name: "vCpuCount"))
@@ -1751,13 +1751,19 @@ module Aws::Deadline
1751
1751
  # not need to pass this option.
1752
1752
  # @return [String]
1753
1753
  #
1754
+ # @!attribute [rw] tags
1755
+ # Each tag consists of a tag key and a tag value. Tag keys and values
1756
+ # are both required, but tag values can be empty strings.
1757
+ # @return [Hash<String,String>]
1758
+ #
1754
1759
  # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/CreateWorkerRequest AWS API Documentation
1755
1760
  #
1756
1761
  class CreateWorkerRequest < Struct.new(
1757
1762
  :farm_id,
1758
1763
  :fleet_id,
1759
1764
  :host_properties,
1760
- :client_token)
1765
+ :client_token,
1766
+ :tags)
1761
1767
  SENSITIVE = []
1762
1768
  include Aws::Structure
1763
1769
  end
@@ -1788,12 +1794,27 @@ module Aws::Deadline
1788
1794
  # The storage profile ID.
1789
1795
  # @return [String]
1790
1796
  #
1797
+ # @!attribute [rw] tag_propagation_mode
1798
+ # Specifies whether tags associated with a fleet are attached to
1799
+ # workers when the worker is launched.
1800
+ #
1801
+ # When the `tagPropagationMode` is set to
1802
+ # `PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH` any tag associated with a
1803
+ # fleet is attached to workers when they launch. If the tags for a
1804
+ # fleet change, the tags associated with running workers **do not**
1805
+ # change.
1806
+ #
1807
+ # If you don't specify `tagPropagationMode`, the default is
1808
+ # `NO_PROPAGATION`.
1809
+ # @return [String]
1810
+ #
1791
1811
  # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/CustomerManagedFleetConfiguration AWS API Documentation
1792
1812
  #
1793
1813
  class CustomerManagedFleetConfiguration < Struct.new(
1794
1814
  :mode,
1795
1815
  :worker_capabilities,
1796
- :storage_profile_id)
1816
+ :storage_profile_id,
1817
+ :tag_propagation_mode)
1797
1818
  SENSITIVE = []
1798
1819
  include Aws::Structure
1799
1820
  end
@@ -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.22.0'
58
+ GEM_VERSION = '1.23.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -332,7 +332,8 @@ module Aws
332
332
  },
333
333
  ]?
334
334
  },
335
- storage_profile_id: ::String?
335
+ storage_profile_id: ::String?,
336
+ tag_propagation_mode: ("NO_PROPAGATION" | "PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH")?
336
337
  }?,
337
338
  service_managed_ec2: {
338
339
  instance_capabilities: {
@@ -577,7 +578,8 @@ module Aws
577
578
  }?,
578
579
  host_name: ::String?
579
580
  },
580
- ?client_token: ::String
581
+ ?client_token: ::String,
582
+ ?tags: Hash[::String, ::String]
581
583
  ) -> _CreateWorkerResponseSuccess
582
584
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWorkerResponseSuccess
583
585
 
@@ -1954,7 +1956,8 @@ module Aws
1954
1956
  },
1955
1957
  ]?
1956
1958
  },
1957
- storage_profile_id: ::String?
1959
+ storage_profile_id: ::String?,
1960
+ tag_propagation_mode: ("NO_PROPAGATION" | "PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH")?
1958
1961
  }?,
1959
1962
  service_managed_ec2: {
1960
1963
  instance_capabilities: {
data/sig/types.rbs CHANGED
@@ -494,6 +494,7 @@ module Aws::Deadline
494
494
  attr_accessor fleet_id: ::String
495
495
  attr_accessor host_properties: Types::HostPropertiesRequest
496
496
  attr_accessor client_token: ::String
497
+ attr_accessor tags: ::Hash[::String, ::String]
497
498
  SENSITIVE: []
498
499
  end
499
500
 
@@ -506,6 +507,7 @@ module Aws::Deadline
506
507
  attr_accessor mode: ("NO_SCALING" | "EVENT_BASED_AUTO_SCALING")
507
508
  attr_accessor worker_capabilities: Types::CustomerManagedWorkerCapabilities
508
509
  attr_accessor storage_profile_id: ::String
510
+ attr_accessor tag_propagation_mode: ("NO_PROPAGATION" | "PROPAGATE_TAGS_TO_WORKERS_AT_LAUNCH")
509
511
  SENSITIVE: []
510
512
  end
511
513
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-deadline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-31 00:00:00.000000000 Z
11
+ date: 2025-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core