yellowdog-sdk 8.5.0__py3-none-any.whl → 8.6.1__py3-none-any.whl

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.
@@ -1,2 +1,2 @@
1
1
 
2
- __version__ = '8.5.0' # YEL-13032
2
+ __version__ = '8.6.1' # YEL-13017
@@ -35,6 +35,8 @@ from .attribute_value import AttributeValue
35
35
  from .authentication_provider import AuthenticationProvider
36
36
  from .auto_shutdown import AutoShutdown
37
37
  from .aws_account_role_credential import AwsAccountRoleCredential
38
+ from .aws_capacity_reservation import AwsCapacityReservation
39
+ from .aws_capacity_reservation_preference import AwsCapacityReservationPreference
38
40
  from .aws_compute_source import AwsComputeSource
39
41
  from .aws_credential import AwsCredential
40
42
  from .aws_fleet_compute_source import AwsFleetComputeSource
@@ -47,6 +49,7 @@ from .aws_fleet_spot_options import AwsFleetSpotOptions
47
49
  from .aws_instance import AwsInstance
48
50
  from .aws_instances_compute_source import AwsInstancesComputeSource
49
51
  from .aws_network_interface_type import AwsNetworkInterfaceType
52
+ from .aws_placement_group import AwsPlacementGroup
50
53
  from .aws_secondary_network_interface import AwsSecondaryNetworkInterface
51
54
  from .azure_account_authentication_properties import AzureAccountAuthenticationProperties
52
55
  from .azure_client_credential import AzureClientCredential
@@ -334,6 +337,8 @@ __all__ = [
334
337
  "AuthenticationProvider",
335
338
  "AutoShutdown",
336
339
  "AwsAccountRoleCredential",
340
+ "AwsCapacityReservation",
341
+ "AwsCapacityReservationPreference",
337
342
  "AwsComputeSource",
338
343
  "AwsCredential",
339
344
  "AwsFleetComputeSource",
@@ -346,6 +351,7 @@ __all__ = [
346
351
  "AwsInstance",
347
352
  "AwsInstancesComputeSource",
348
353
  "AwsNetworkInterfaceType",
354
+ "AwsPlacementGroup",
349
355
  "AwsSecondaryNetworkInterface",
350
356
  "AzureAccountAuthenticationProperties",
351
357
  "AzureClientCredential",
@@ -0,0 +1,11 @@
1
+ from dataclasses import dataclass
2
+ from typing import Optional
3
+
4
+ from .aws_capacity_reservation_preference import AwsCapacityReservationPreference
5
+
6
+
7
+ @dataclass
8
+ class AwsCapacityReservation:
9
+ preference: AwsCapacityReservationPreference
10
+ groupArn: Optional[str] = None
11
+ id: Optional[str] = None
@@ -0,0 +1,10 @@
1
+ from enum import Enum
2
+
3
+
4
+ class AwsCapacityReservationPreference(Enum):
5
+ NONE = "NONE"
6
+ OPEN = "OPEN"
7
+ CAPACITY_RESERVATIONS_ONLY = "CAPACITY_RESERVATIONS_ONLY"
8
+
9
+ def __str__(self) -> str:
10
+ return self.name
@@ -1,11 +1,13 @@
1
1
  from dataclasses import dataclass, field
2
2
  from typing import Dict, List, Optional, Set
3
3
 
4
+ from .aws_capacity_reservation import AwsCapacityReservation
4
5
  from .aws_compute_source import AwsComputeSource
5
6
  from .aws_fleet_instance_override import AwsFleetInstanceOverride
6
7
  from .aws_fleet_on_demand_options import AwsFleetOnDemandOptions
7
8
  from .aws_fleet_purchase_option import AwsFleetPurchaseOption
8
9
  from .aws_fleet_spot_options import AwsFleetSpotOptions
10
+ from .aws_placement_group import AwsPlacementGroup
9
11
  from .aws_secondary_network_interface import AwsSecondaryNetworkInterface
10
12
  from .compute_source_exhaustion import ComputeSourceExhaustion
11
13
  from .compute_source_status import ComputeSourceStatus
@@ -60,10 +62,14 @@ class AwsFleetComputeSource(AwsComputeSource):
60
62
  """Indicates if provisioned instances should be assigned public IP addresses."""
61
63
  createClusterPlacementGroup: Optional[bool] = None
62
64
  """Indicates if instances should be provisioned within a cluster placement group."""
65
+ existingPlacementGroup: Optional[AwsPlacementGroup] = None
66
+ """Indicates an existing placement group within which instances should be provisioned."""
63
67
  createElasticFabricAdapter: Optional[bool] = None
64
68
  """Indicates if instances should be provisioned with an Elastic Fabric Adapter network interface."""
65
69
  secondaryNetworkInterfaces: Optional[List[AwsSecondaryNetworkInterface]] = None
66
70
  """Secondary network interfaces to create on provisioned instances."""
71
+ capacityReservation: Optional[AwsCapacityReservation] = None
72
+ """Specifies the capacity reservation to target for provisioned instances."""
67
73
  limit: int = 0
68
74
  maintainCapacity: bool = False
69
75
  """Indicates if AWS EC2 Fleet should maintain the instance count independently of YellowDog Compute, replacing the reprovision functionality."""
@@ -10,6 +10,8 @@ class AwsFleetPurchaseOption(Enum):
10
10
  """AWS EC2 Fleet will only use On-Demand instances."""
11
11
  SPOT_ONLY = "SPOT_ONLY"
12
12
  """AWS EC2 Fleet will only use Spot instances."""
13
+ CAPACITY_BLOCK = "CAPACITY_BLOCK"
14
+ """AWS EC2 Fleet will only use instances within a Capacity Block."""
13
15
 
14
16
  def __str__(self) -> str:
15
17
  return self.name
@@ -1,7 +1,9 @@
1
1
  from dataclasses import dataclass, field
2
2
  from typing import Dict, List, Optional, Set
3
3
 
4
+ from .aws_capacity_reservation import AwsCapacityReservation
4
5
  from .aws_compute_source import AwsComputeSource
6
+ from .aws_placement_group import AwsPlacementGroup
5
7
  from .aws_secondary_network_interface import AwsSecondaryNetworkInterface
6
8
  from .compute_source_exhaustion import ComputeSourceExhaustion
7
9
  from .compute_source_status import ComputeSourceStatus
@@ -48,14 +50,20 @@ class AwsInstancesComputeSource(AwsComputeSource):
48
50
  """Indicates if provisioned instances should have detailed CloudWatch monitoring enabled."""
49
51
  enableInstanceMetadataTags: Optional[bool] = None
50
52
  """Indicates if provisioned instances should expose their tags via instance metadata."""
53
+ useCapacityBlock: Optional[bool] = None
54
+ """Indicates if instances should be provisioned within a reserved capacity block."""
51
55
  assignPublicIp: bool = False
52
56
  """Indicates if provisioned instances should be assigned public IP addresses."""
53
57
  createClusterPlacementGroup: Optional[bool] = None
54
58
  """Indicates if instances should be provisioned within a cluster placement group."""
59
+ existingPlacementGroup: Optional[AwsPlacementGroup] = None
60
+ """Indicates an existing placement group within which instances should be provisioned."""
55
61
  createElasticFabricAdapter: Optional[bool] = None
56
62
  """Indicates if instances should be provisioned with an Elastic Fabric Adapter network interface."""
57
63
  secondaryNetworkInterfaces: Optional[List[AwsSecondaryNetworkInterface]] = None
58
64
  """Secondary network interfaces to create on provisioned instances."""
65
+ capacityReservation: Optional[AwsCapacityReservation] = None
66
+ """Specifies the capacity reservation to target for provisioned instances."""
59
67
  limit: int = 0
60
68
  specifyMinimum: bool = False
61
69
  """
@@ -0,0 +1,8 @@
1
+ from dataclasses import dataclass
2
+ from typing import Optional
3
+
4
+
5
+ @dataclass
6
+ class AwsPlacementGroup:
7
+ groupName: Optional[str] = None
8
+ groupId: Optional[str] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: yellowdog-sdk
3
- Version: 8.5.0
3
+ Version: 8.6.1
4
4
  Summary: SDK for the YellowDog Platform
5
5
  Author-email: YellowDog Limited <support@yellowdog.co>
6
6
  Project-URL: Homepage, https://yellowdog.co
@@ -1,6 +1,6 @@
1
1
  __init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  yellowdog_client/__init__.py,sha256=xHGTw5UbjkeEl_hC8_gJCacfji6462qJWD1nvJdFssE,13162
3
- yellowdog_client/_version.py,sha256=rFCuCNWsKWiwFoCssY0NwyQzYyJRcEdaAuEL8UdH5rk,36
3
+ yellowdog_client/_version.py,sha256=lgSw4dfg7-8EY4cL0LI8AahCvqjJJBxTkfWdKgj1yi4,36
4
4
  yellowdog_client/client_collection.py,sha256=VSEzjf6iR1qCQ0YGLyDq_Kgvw8r832QDwTp6-MLB4Vs,388
5
5
  yellowdog_client/platform_client.py,sha256=h_9sd35e0GMdVGjSjG0KGcG3w1qLGY1Vf1U1gSor-HE,7052
6
6
  yellowdog_client/account/__init__.py,sha256=wx5GbsoODMdXbOmRoNZu5VYgDJX-RqsFb9ph14HXoV4,235
@@ -50,7 +50,7 @@ yellowdog_client/images/images_service_proxy.py,sha256=eyP4u6FoIH1WJvNM_m8tacTCs
50
50
  yellowdog_client/images/page.py,sha256=UIvlxvzdcfnKvbcq2Cn6IB7ZtQMc3dzcBTUfElvVPwQ,391
51
51
  yellowdog_client/images/pageable.py,sha256=msD8uGGJ2F5jEqTNDYaFrh6z6drlxOXZ1AmB0T3edM0,296
52
52
  yellowdog_client/images/sort.py,sha256=YS05DlIRg1Cm3QLBi6KFjFdB3g-b3WrqFFitlMJUEMM,167
53
- yellowdog_client/model/__init__.py,sha256=wzNU3it9eIc8RH-JB_rBaXh58FQdZTIMjDiNc2mnqNM,24711
53
+ yellowdog_client/model/__init__.py,sha256=4uFATFjGudFH6jyVkTkJZnJIizALbr0OAulIrPENRAQ,25000
54
54
  yellowdog_client/model/access_delegate.py,sha256=gZYX7Hqw_eBzBIHzbxyZfrhko0xZIsPCsf4gSzFalwc,568
55
55
  yellowdog_client/model/account.py,sha256=r_-7J-JjjMcQPZzaQ4_o9y6XY7-GMPRLWt9mGOucYU0,394
56
56
  yellowdog_client/model/account_allowance.py,sha256=c-MkSSRLB5Y5TMDZl5h5fipj4vzLLlO_AQXPeRJ0AYw,1021
@@ -88,18 +88,21 @@ yellowdog_client/model/attribute_value.py,sha256=u_b6nieOJitvl32Wfs__dHOYcNCcgEG
88
88
  yellowdog_client/model/authentication_provider.py,sha256=SFwKNgkVso4RNISEAZzJdliiLerI8Vqz7CYHNSuJHRU,182
89
89
  yellowdog_client/model/auto_shutdown.py,sha256=xCFXO1oxMO6TGBqO1mqtFIHVx4xnruJ4080bs-Lpb2s,201
90
90
  yellowdog_client/model/aws_account_role_credential.py,sha256=Y1qGcOgDmfMtw_PXuPjnfd2FFtP6l6NxDKfhPNdIJrY,631
91
+ yellowdog_client/model/aws_capacity_reservation.py,sha256=uzfqnLT5qhrDeaQpE_oy12wZ2AKLGIA6kfG7FwSCpbY,301
92
+ yellowdog_client/model/aws_capacity_reservation_preference.py,sha256=kB_bGTdD8VXYxkG97k38P4RLG30KmUuIOmEI32BnuzE,224
91
93
  yellowdog_client/model/aws_compute_source.py,sha256=rHxDoWM0az9wp9Cvxn4lvISYJgt6VwqjTKZkb_FyaaY,330
92
94
  yellowdog_client/model/aws_credential.py,sha256=fzMT9bUiHEaQCKyRQCyqrh0di3jKta-wIABbQyU4N3w,770
93
- yellowdog_client/model/aws_fleet_compute_source.py,sha256=ie8vPPy-dJiuQRjn7GTfZHequ8ElsaX_5rOaUxq3QEY,4461
95
+ yellowdog_client/model/aws_fleet_compute_source.py,sha256=bdNnah5HtIIg_Lx3pOh32leBJHezHsGbp2IYR6Phb14,4877
94
96
  yellowdog_client/model/aws_fleet_instance_override.py,sha256=SaQhKm7i_KYzovZ3Ou8djgq1KLAo2NlL5lnfapgBPvc,537
95
97
  yellowdog_client/model/aws_fleet_on_demand_allocation_strategy.py,sha256=CS1oTf-BeKu3yRtUSuZn-rBgeuPTqu2wn47lulxq0vE,628
96
98
  yellowdog_client/model/aws_fleet_on_demand_options.py,sha256=DSVCB7KaX1-dMZSqSVdxjHH2QUCJHKjlWrO_WZ0b1fs,1092
97
- yellowdog_client/model/aws_fleet_purchase_option.py,sha256=Rpwk3pwohjXH9aL0rpQZn1mYur_gSQuH1fCm3VV5YZs,584
99
+ yellowdog_client/model/aws_fleet_purchase_option.py,sha256=Wb-DXkWgp9L-Akuu92xkpPwp5KeNGzSbzBXHnPr2dks,695
98
100
  yellowdog_client/model/aws_fleet_spot_allocation_strategy.py,sha256=RJDX7BVRdUgZepG23t-X7NnoslEdo7luRsPH6GbWjYs,875
99
101
  yellowdog_client/model/aws_fleet_spot_options.py,sha256=8KKlTgYfPOBE3ERM3nT-jIDpgfjtSc_5RnkiGGVNMas,1292
100
102
  yellowdog_client/model/aws_instance.py,sha256=n-HqqJ5PN9vPCzDE0QFZfcJfMC-NJ-idXwAH9rD--30,1865
101
- yellowdog_client/model/aws_instances_compute_source.py,sha256=pNTVOpjZtEzfzw2r4sGlTp0P8z5iaHF6NGTyAwb95po,4006
103
+ yellowdog_client/model/aws_instances_compute_source.py,sha256=MnfSSRp1Bxky1Bx_8ueVnGpDVBEouNsynFkqB8aCaZ8,4555
102
104
  yellowdog_client/model/aws_network_interface_type.py,sha256=1PZ0l1KNfyQNVU5m9sRbyxOmxT6YZAyjvRfCMg4Q_uE,371
105
+ yellowdog_client/model/aws_placement_group.py,sha256=iPtjq-__iIoUVRjxjXSiaEspVU48d-5zAcG1F_11ZQA,170
103
106
  yellowdog_client/model/aws_secondary_network_interface.py,sha256=ymdwZqs8b6Vcaz6EBk0ZL2a3PLGrx-9YrMQsVgilTRk,598
104
107
  yellowdog_client/model/azure_account_authentication_properties.py,sha256=GLQ6AiHpcXjrdOgK9mgh57nqmRQF27DU2CnfuBXNIvM,331
105
108
  yellowdog_client/model/azure_client_credential.py,sha256=cPlUBhZCfr70hHb708aEizYN1StYFIIifMpy10mauY0,634
@@ -444,8 +447,8 @@ yellowdog_client/usage/__init__.py,sha256=XQwRJqTdxKZa1QUTsxBEL0TqQJeQHGyPklFeqc
444
447
  yellowdog_client/usage/allowances_client.py,sha256=H6n63jXjT4OwuWJgFUXSjSmvGTZz9uspy3kj3upinaA,1337
445
448
  yellowdog_client/usage/allowances_client_impl.py,sha256=nQPnSzJKhL3WvyCn5fmiDkwE84xZryH9YvV5Z1GjU4M,2061
446
449
  yellowdog_client/usage/allowances_service_proxy.py,sha256=uO6LWnpjIzUcZTGdOxPXn7SyYX7NMRqO5KUiHUGr490,1320
447
- yellowdog_sdk-8.5.0.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
448
- yellowdog_sdk-8.5.0.dist-info/METADATA,sha256=k_bwUYlPybbCxY8pcUmsTh5vqOuxXuqQgfhWPE3aO5U,3216
449
- yellowdog_sdk-8.5.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
450
- yellowdog_sdk-8.5.0.dist-info/top_level.txt,sha256=6PH16DcoqpYHhQ5A0UJOjf0tg-1rTrNC9C2CLqCMuFo,26
451
- yellowdog_sdk-8.5.0.dist-info/RECORD,,
450
+ yellowdog_sdk-8.6.1.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
451
+ yellowdog_sdk-8.6.1.dist-info/METADATA,sha256=R9PaxeTe_CCMPhhahDtdjcpbxh0E87nuDroXUApwPGA,3216
452
+ yellowdog_sdk-8.6.1.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
453
+ yellowdog_sdk-8.6.1.dist-info/top_level.txt,sha256=6PH16DcoqpYHhQ5A0UJOjf0tg-1rTrNC9C2CLqCMuFo,26
454
+ yellowdog_sdk-8.6.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (75.7.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5