Skip to content

Type definitions#

Index > ParallelComputingService > Type definitions

Auto-generated documentation for ParallelComputingService type annotations stubs module mypy-boto3-pcs.

SlurmCustomSettingTypeDef#

# SlurmCustomSettingTypeDef definition

class SlurmCustomSettingTypeDef(TypedDict):
    parameterName: str,
    parameterValue: str,

SlurmAuthKeyTypeDef#

# SlurmAuthKeyTypeDef definition

class SlurmAuthKeyTypeDef(TypedDict):
    secretArn: str,
    secretVersion: str,

ClusterSummaryTypeDef#

# ClusterSummaryTypeDef definition

class ClusterSummaryTypeDef(TypedDict):
    name: str,
    id: str,
    arn: str,
    createdAt: datetime,
    modifiedAt: datetime,
    status: ClusterStatusType,  # (1)
  1. See ClusterStatusType

EndpointTypeDef#

# EndpointTypeDef definition

class EndpointTypeDef(TypedDict):
    type: EndpointTypeType,  # (1)
    privateIpAddress: str,
    port: str,
    publicIpAddress: NotRequired[str],
  1. See EndpointTypeType

ErrorInfoTypeDef#

# ErrorInfoTypeDef definition

class ErrorInfoTypeDef(TypedDict):
    code: NotRequired[str],
    message: NotRequired[str],

NetworkingTypeDef#

# NetworkingTypeDef definition

class NetworkingTypeDef(TypedDict):
    subnetIds: NotRequired[List[str]],
    securityGroupIds: NotRequired[List[str]],

SchedulerTypeDef#

# SchedulerTypeDef definition

class SchedulerTypeDef(TypedDict):
    type: SchedulerTypeType,  # (1)
    version: str,
  1. See SchedulerTypeType

ComputeNodeGroupConfigurationTypeDef#

# ComputeNodeGroupConfigurationTypeDef definition

class ComputeNodeGroupConfigurationTypeDef(TypedDict):
    computeNodeGroupId: NotRequired[str],

ComputeNodeGroupSummaryTypeDef#

# ComputeNodeGroupSummaryTypeDef definition

class ComputeNodeGroupSummaryTypeDef(TypedDict):
    name: str,
    id: str,
    arn: str,
    clusterId: str,
    createdAt: datetime,
    modifiedAt: datetime,
    status: ComputeNodeGroupStatusType,  # (1)
  1. See ComputeNodeGroupStatusType

CustomLaunchTemplateTypeDef#

# CustomLaunchTemplateTypeDef definition

class CustomLaunchTemplateTypeDef(TypedDict):
    id: str,
    version: str,

InstanceConfigTypeDef#

# InstanceConfigTypeDef definition

class InstanceConfigTypeDef(TypedDict):
    instanceType: NotRequired[str],

ScalingConfigurationTypeDef#

# ScalingConfigurationTypeDef definition

class ScalingConfigurationTypeDef(TypedDict):
    minInstanceCount: int,
    maxInstanceCount: int,

SpotOptionsTypeDef#

# SpotOptionsTypeDef definition

class SpotOptionsTypeDef(TypedDict):
    allocationStrategy: NotRequired[SpotAllocationStrategyType],  # (1)
  1. See SpotAllocationStrategyType

NetworkingRequestTypeDef#

# NetworkingRequestTypeDef definition

class NetworkingRequestTypeDef(TypedDict):
    subnetIds: NotRequired[Sequence[str]],
    securityGroupIds: NotRequired[Sequence[str]],

SchedulerRequestTypeDef#

# SchedulerRequestTypeDef definition

class SchedulerRequestTypeDef(TypedDict):
    type: SchedulerTypeType,  # (1)
    version: str,
  1. See SchedulerTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

ScalingConfigurationRequestTypeDef#

# ScalingConfigurationRequestTypeDef definition

class ScalingConfigurationRequestTypeDef(TypedDict):
    minInstanceCount: int,
    maxInstanceCount: int,

DeleteClusterRequestRequestTypeDef#

# DeleteClusterRequestRequestTypeDef definition

class DeleteClusterRequestRequestTypeDef(TypedDict):
    clusterIdentifier: str,
    clientToken: NotRequired[str],

DeleteComputeNodeGroupRequestRequestTypeDef#

# DeleteComputeNodeGroupRequestRequestTypeDef definition

class DeleteComputeNodeGroupRequestRequestTypeDef(TypedDict):
    clusterIdentifier: str,
    computeNodeGroupIdentifier: str,
    clientToken: NotRequired[str],

DeleteQueueRequestRequestTypeDef#

# DeleteQueueRequestRequestTypeDef definition

class DeleteQueueRequestRequestTypeDef(TypedDict):
    clusterIdentifier: str,
    queueIdentifier: str,
    clientToken: NotRequired[str],

GetClusterRequestRequestTypeDef#

# GetClusterRequestRequestTypeDef definition

class GetClusterRequestRequestTypeDef(TypedDict):
    clusterIdentifier: str,

GetComputeNodeGroupRequestRequestTypeDef#

# GetComputeNodeGroupRequestRequestTypeDef definition

class GetComputeNodeGroupRequestRequestTypeDef(TypedDict):
    clusterIdentifier: str,
    computeNodeGroupIdentifier: str,

GetQueueRequestRequestTypeDef#

# GetQueueRequestRequestTypeDef definition

class GetQueueRequestRequestTypeDef(TypedDict):
    clusterIdentifier: str,
    queueIdentifier: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListClustersRequestRequestTypeDef#

# ListClustersRequestRequestTypeDef definition

class ListClustersRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListComputeNodeGroupsRequestRequestTypeDef#

# ListComputeNodeGroupsRequestRequestTypeDef definition

class ListComputeNodeGroupsRequestRequestTypeDef(TypedDict):
    clusterIdentifier: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListQueuesRequestRequestTypeDef#

# ListQueuesRequestRequestTypeDef definition

class ListQueuesRequestRequestTypeDef(TypedDict):
    clusterIdentifier: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

QueueSummaryTypeDef#

# QueueSummaryTypeDef definition

class QueueSummaryTypeDef(TypedDict):
    name: str,
    id: str,
    arn: str,
    clusterId: str,
    createdAt: datetime,
    modifiedAt: datetime,
    status: QueueStatusType,  # (1)
  1. See QueueStatusType

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

RegisterComputeNodeGroupInstanceRequestRequestTypeDef#

# RegisterComputeNodeGroupInstanceRequestRequestTypeDef definition

class RegisterComputeNodeGroupInstanceRequestRequestTypeDef(TypedDict):
    clusterIdentifier: str,
    bootstrapId: str,

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef definition

class TagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

ClusterSlurmConfigurationRequestTypeDef#

# ClusterSlurmConfigurationRequestTypeDef definition

class ClusterSlurmConfigurationRequestTypeDef(TypedDict):
    scaleDownIdleTimeInSeconds: NotRequired[int],
    slurmCustomSettings: NotRequired[Sequence[SlurmCustomSettingTypeDef]],  # (1)
  1. See SlurmCustomSettingTypeDef

ComputeNodeGroupSlurmConfigurationRequestTypeDef#

# ComputeNodeGroupSlurmConfigurationRequestTypeDef definition

class ComputeNodeGroupSlurmConfigurationRequestTypeDef(TypedDict):
    slurmCustomSettings: NotRequired[Sequence[SlurmCustomSettingTypeDef]],  # (1)
  1. See SlurmCustomSettingTypeDef

ComputeNodeGroupSlurmConfigurationTypeDef#

# ComputeNodeGroupSlurmConfigurationTypeDef definition

class ComputeNodeGroupSlurmConfigurationTypeDef(TypedDict):
    slurmCustomSettings: NotRequired[List[SlurmCustomSettingTypeDef]],  # (1)
  1. See SlurmCustomSettingTypeDef

UpdateComputeNodeGroupSlurmConfigurationRequestTypeDef#

# UpdateComputeNodeGroupSlurmConfigurationRequestTypeDef definition

class UpdateComputeNodeGroupSlurmConfigurationRequestTypeDef(TypedDict):
    slurmCustomSettings: NotRequired[Sequence[SlurmCustomSettingTypeDef]],  # (1)
  1. See SlurmCustomSettingTypeDef

ClusterSlurmConfigurationTypeDef#

# ClusterSlurmConfigurationTypeDef definition

class ClusterSlurmConfigurationTypeDef(TypedDict):
    scaleDownIdleTimeInSeconds: NotRequired[int],
    slurmCustomSettings: NotRequired[List[SlurmCustomSettingTypeDef]],  # (1)
    authKey: NotRequired[SlurmAuthKeyTypeDef],  # (2)
  1. See SlurmCustomSettingTypeDef
  2. See SlurmAuthKeyTypeDef

CreateQueueRequestRequestTypeDef#

# CreateQueueRequestRequestTypeDef definition

class CreateQueueRequestRequestTypeDef(TypedDict):
    clusterIdentifier: str,
    queueName: str,
    computeNodeGroupConfigurations: NotRequired[Sequence[ComputeNodeGroupConfigurationTypeDef]],  # (1)
    clientToken: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
  1. See ComputeNodeGroupConfigurationTypeDef

QueueTypeDef#

# QueueTypeDef definition

class QueueTypeDef(TypedDict):
    name: str,
    id: str,
    arn: str,
    clusterId: str,
    createdAt: datetime,
    modifiedAt: datetime,
    status: QueueStatusType,  # (1)
    computeNodeGroupCo