mypy-boto3-batch 1.34.83__py3-none-any.whl → 1.34.128__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.
@@ -10,9 +10,9 @@ def print_info() -> None:
10
10
  Print package info to stdout.
11
11
  """
12
12
  print(
13
- "Type annotations for boto3.Batch 1.34.83\n"
14
- "Version: 1.34.83\n"
15
- "Builder version: 7.23.2\n"
13
+ "Type annotations for boto3.Batch 1.34.128\n"
14
+ "Version: 1.34.128\n"
15
+ "Builder version: 7.24.0\n"
16
16
  "Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch//\n"
17
17
  "Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch\n"
18
18
  "Other services: https://pypi.org/project/boto3-stubs/\n"
@@ -24,7 +24,7 @@ def print_version() -> None:
24
24
  """
25
25
  Print package version to stdout.
26
26
  """
27
- print("1.34.83")
27
+ print("1.34.128")
28
28
 
29
29
 
30
30
  def main() -> None:
@@ -37,10 +37,10 @@ from .paginator import (
37
37
  from .type_defs import (
38
38
  ArrayPropertiesTypeDef,
39
39
  ComputeEnvironmentOrderTypeDef,
40
- ComputeResourceTypeDef,
40
+ ComputeResourceUnionTypeDef,
41
41
  ComputeResourceUpdateTypeDef,
42
42
  ContainerOverridesTypeDef,
43
- ContainerPropertiesTypeDef,
43
+ ContainerPropertiesUnionTypeDef,
44
44
  CreateComputeEnvironmentResponseTypeDef,
45
45
  CreateJobQueueResponseTypeDef,
46
46
  CreateSchedulingPolicyResponseTypeDef,
@@ -50,11 +50,12 @@ from .type_defs import (
50
50
  DescribeJobsResponseTypeDef,
51
51
  DescribeSchedulingPoliciesResponseTypeDef,
52
52
  EcsPropertiesOverrideTypeDef,
53
- EcsPropertiesTypeDef,
53
+ EcsPropertiesUnionTypeDef,
54
54
  EksConfigurationTypeDef,
55
55
  EksPropertiesOverrideTypeDef,
56
- EksPropertiesTypeDef,
57
- FairsharePolicyTypeDef,
56
+ EksPropertiesUnionTypeDef,
57
+ FairsharePolicyUnionTypeDef,
58
+ GetJobQueueSnapshotResponseTypeDef,
58
59
  JobDependencyTypeDef,
59
60
  JobStateTimeLimitActionTypeDef,
60
61
  JobTimeoutTypeDef,
@@ -63,9 +64,9 @@ from .type_defs import (
63
64
  ListSchedulingPoliciesResponseTypeDef,
64
65
  ListTagsForResourceResponseTypeDef,
65
66
  NodeOverridesTypeDef,
66
- NodePropertiesTypeDef,
67
+ NodePropertiesUnionTypeDef,
67
68
  RegisterJobDefinitionResponseTypeDef,
68
- RetryStrategyTypeDef,
69
+ RetryStrategyUnionTypeDef,
69
70
  SubmitJobResponseTypeDef,
70
71
  UpdateComputeEnvironmentResponseTypeDef,
71
72
  UpdateJobQueueResponseTypeDef,
@@ -142,7 +143,7 @@ class BatchClient(BaseClient):
142
143
  type: CETypeType,
143
144
  state: CEStateType = ...,
144
145
  unmanagedvCpus: int = ...,
145
- computeResources: ComputeResourceTypeDef = ...,
146
+ computeResources: ComputeResourceUnionTypeDef = ...,
146
147
  serviceRole: str = ...,
147
148
  tags: Mapping[str, str] = ...,
148
149
  eksConfiguration: EksConfigurationTypeDef = ...,
@@ -176,7 +177,7 @@ class BatchClient(BaseClient):
176
177
  self,
177
178
  *,
178
179
  name: str,
179
- fairsharePolicy: FairsharePolicyTypeDef = ...,
180
+ fairsharePolicy: FairsharePolicyUnionTypeDef = ...,
180
181
  tags: Mapping[str, str] = ...,
181
182
  ) -> CreateSchedulingPolicyResponseTypeDef:
182
183
  """
@@ -290,6 +291,15 @@ class BatchClient(BaseClient):
290
291
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
291
292
  """
292
293
 
294
+ def get_job_queue_snapshot(self, *, jobQueue: str) -> GetJobQueueSnapshotResponseTypeDef:
295
+ """
296
+ Provides a list of the first 100 `RUNNABLE` jobs associated to a single job
297
+ queue.
298
+
299
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.get_job_queue_snapshot)
300
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
301
+ """
302
+
293
303
  def list_jobs(
294
304
  self,
295
305
  *,
@@ -333,15 +343,15 @@ class BatchClient(BaseClient):
333
343
  type: JobDefinitionTypeType,
334
344
  parameters: Mapping[str, str] = ...,
335
345
  schedulingPriority: int = ...,
336
- containerProperties: ContainerPropertiesTypeDef = ...,
337
- nodeProperties: NodePropertiesTypeDef = ...,
338
- retryStrategy: RetryStrategyTypeDef = ...,
346
+ containerProperties: ContainerPropertiesUnionTypeDef = ...,
347
+ nodeProperties: NodePropertiesUnionTypeDef = ...,
348
+ retryStrategy: RetryStrategyUnionTypeDef = ...,
339
349
  propagateTags: bool = ...,
340
350
  timeout: JobTimeoutTypeDef = ...,
341
351
  tags: Mapping[str, str] = ...,
342
352
  platformCapabilities: Sequence[PlatformCapabilityType] = ...,
343
- eksProperties: EksPropertiesTypeDef = ...,
344
- ecsProperties: EcsPropertiesTypeDef = ...,
353
+ eksProperties: EksPropertiesUnionTypeDef = ...,
354
+ ecsProperties: EcsPropertiesUnionTypeDef = ...,
345
355
  ) -> RegisterJobDefinitionResponseTypeDef:
346
356
  """
347
357
  Registers an Batch job definition.
@@ -363,7 +373,7 @@ class BatchClient(BaseClient):
363
373
  parameters: Mapping[str, str] = ...,
364
374
  containerOverrides: ContainerOverridesTypeDef = ...,
365
375
  nodeOverrides: NodeOverridesTypeDef = ...,
366
- retryStrategy: RetryStrategyTypeDef = ...,
376
+ retryStrategy: RetryStrategyUnionTypeDef = ...,
367
377
  propagateTags: bool = ...,
368
378
  timeout: JobTimeoutTypeDef = ...,
369
379
  tags: Mapping[str, str] = ...,
@@ -436,7 +446,7 @@ class BatchClient(BaseClient):
436
446
  """
437
447
 
438
448
  def update_scheduling_policy(
439
- self, *, arn: str, fairsharePolicy: FairsharePolicyTypeDef = ...
449
+ self, *, arn: str, fairsharePolicy: FairsharePolicyUnionTypeDef = ...
440
450
  ) -> Dict[str, Any]:
441
451
  """
442
452
  Updates a scheduling policy.
@@ -37,10 +37,10 @@ from .paginator import (
37
37
  from .type_defs import (
38
38
  ArrayPropertiesTypeDef,
39
39
  ComputeEnvironmentOrderTypeDef,
40
- ComputeResourceTypeDef,
40
+ ComputeResourceUnionTypeDef,
41
41
  ComputeResourceUpdateTypeDef,
42
42
  ContainerOverridesTypeDef,
43
- ContainerPropertiesTypeDef,
43
+ ContainerPropertiesUnionTypeDef,
44
44
  CreateComputeEnvironmentResponseTypeDef,
45
45
  CreateJobQueueResponseTypeDef,
46
46
  CreateSchedulingPolicyResponseTypeDef,
@@ -50,11 +50,12 @@ from .type_defs import (
50
50
  DescribeJobsResponseTypeDef,
51
51
  DescribeSchedulingPoliciesResponseTypeDef,
52
52
  EcsPropertiesOverrideTypeDef,
53
- EcsPropertiesTypeDef,
53
+ EcsPropertiesUnionTypeDef,
54
54
  EksConfigurationTypeDef,
55
55
  EksPropertiesOverrideTypeDef,
56
- EksPropertiesTypeDef,
57
- FairsharePolicyTypeDef,
56
+ EksPropertiesUnionTypeDef,
57
+ FairsharePolicyUnionTypeDef,
58
+ GetJobQueueSnapshotResponseTypeDef,
58
59
  JobDependencyTypeDef,
59
60
  JobStateTimeLimitActionTypeDef,
60
61
  JobTimeoutTypeDef,
@@ -63,9 +64,9 @@ from .type_defs import (
63
64
  ListSchedulingPoliciesResponseTypeDef,
64
65
  ListTagsForResourceResponseTypeDef,
65
66
  NodeOverridesTypeDef,
66
- NodePropertiesTypeDef,
67
+ NodePropertiesUnionTypeDef,
67
68
  RegisterJobDefinitionResponseTypeDef,
68
- RetryStrategyTypeDef,
69
+ RetryStrategyUnionTypeDef,
69
70
  SubmitJobResponseTypeDef,
70
71
  UpdateComputeEnvironmentResponseTypeDef,
71
72
  UpdateJobQueueResponseTypeDef,
@@ -139,7 +140,7 @@ class BatchClient(BaseClient):
139
140
  type: CETypeType,
140
141
  state: CEStateType = ...,
141
142
  unmanagedvCpus: int = ...,
142
- computeResources: ComputeResourceTypeDef = ...,
143
+ computeResources: ComputeResourceUnionTypeDef = ...,
143
144
  serviceRole: str = ...,
144
145
  tags: Mapping[str, str] = ...,
145
146
  eksConfiguration: EksConfigurationTypeDef = ...,
@@ -173,7 +174,7 @@ class BatchClient(BaseClient):
173
174
  self,
174
175
  *,
175
176
  name: str,
176
- fairsharePolicy: FairsharePolicyTypeDef = ...,
177
+ fairsharePolicy: FairsharePolicyUnionTypeDef = ...,
177
178
  tags: Mapping[str, str] = ...,
178
179
  ) -> CreateSchedulingPolicyResponseTypeDef:
179
180
  """
@@ -287,6 +288,15 @@ class BatchClient(BaseClient):
287
288
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#generate_presigned_url)
288
289
  """
289
290
 
291
+ def get_job_queue_snapshot(self, *, jobQueue: str) -> GetJobQueueSnapshotResponseTypeDef:
292
+ """
293
+ Provides a list of the first 100 `RUNNABLE` jobs associated to a single job
294
+ queue.
295
+
296
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Client.get_job_queue_snapshot)
297
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/client/#get_job_queue_snapshot)
298
+ """
299
+
290
300
  def list_jobs(
291
301
  self,
292
302
  *,
@@ -330,15 +340,15 @@ class BatchClient(BaseClient):
330
340
  type: JobDefinitionTypeType,
331
341
  parameters: Mapping[str, str] = ...,
332
342
  schedulingPriority: int = ...,
333
- containerProperties: ContainerPropertiesTypeDef = ...,
334
- nodeProperties: NodePropertiesTypeDef = ...,
335
- retryStrategy: RetryStrategyTypeDef = ...,
343
+ containerProperties: ContainerPropertiesUnionTypeDef = ...,
344
+ nodeProperties: NodePropertiesUnionTypeDef = ...,
345
+ retryStrategy: RetryStrategyUnionTypeDef = ...,
336
346
  propagateTags: bool = ...,
337
347
  timeout: JobTimeoutTypeDef = ...,
338
348
  tags: Mapping[str, str] = ...,
339
349
  platformCapabilities: Sequence[PlatformCapabilityType] = ...,
340
- eksProperties: EksPropertiesTypeDef = ...,
341
- ecsProperties: EcsPropertiesTypeDef = ...,
350
+ eksProperties: EksPropertiesUnionTypeDef = ...,
351
+ ecsProperties: EcsPropertiesUnionTypeDef = ...,
342
352
  ) -> RegisterJobDefinitionResponseTypeDef:
343
353
  """
344
354
  Registers an Batch job definition.
@@ -360,7 +370,7 @@ class BatchClient(BaseClient):
360
370
  parameters: Mapping[str, str] = ...,
361
371
  containerOverrides: ContainerOverridesTypeDef = ...,
362
372
  nodeOverrides: NodeOverridesTypeDef = ...,
363
- retryStrategy: RetryStrategyTypeDef = ...,
373
+ retryStrategy: RetryStrategyUnionTypeDef = ...,
364
374
  propagateTags: bool = ...,
365
375
  timeout: JobTimeoutTypeDef = ...,
366
376
  tags: Mapping[str, str] = ...,
@@ -433,7 +443,7 @@ class BatchClient(BaseClient):
433
443
  """
434
444
 
435
445
  def update_scheduling_policy(
436
- self, *, arn: str, fairsharePolicy: FairsharePolicyTypeDef = ...
446
+ self, *, arn: str, fairsharePolicy: FairsharePolicyUnionTypeDef = ...
437
447
  ) -> Dict[str, Any]:
438
448
  """
439
449
  Updates a scheduling policy.
@@ -93,7 +93,6 @@ ServiceName = Literal[
93
93
  "account",
94
94
  "acm",
95
95
  "acm-pca",
96
- "alexaforbusiness",
97
96
  "amp",
98
97
  "amplify",
99
98
  "amplifybackend",
@@ -108,11 +107,13 @@ ServiceName = Literal[
108
107
  "appintegrations",
109
108
  "application-autoscaling",
110
109
  "application-insights",
110
+ "application-signals",
111
111
  "applicationcostprofiler",
112
112
  "appmesh",
113
113
  "apprunner",
114
114
  "appstream",
115
115
  "appsync",
116
+ "apptest",
116
117
  "arc-zonal-shift",
117
118
  "artifact",
118
119
  "athena",
@@ -122,7 +123,6 @@ ServiceName = Literal[
122
123
  "b2bi",
123
124
  "backup",
124
125
  "backup-gateway",
125
- "backupstorage",
126
126
  "batch",
127
127
  "bcm-data-exports",
128
128
  "bedrock",
@@ -248,7 +248,6 @@ ServiceName = Literal[
248
248
  "guardduty",
249
249
  "health",
250
250
  "healthlake",
251
- "honeycode",
252
251
  "iam",
253
252
  "identitystore",
254
253
  "imagebuilder",
@@ -309,6 +308,7 @@ ServiceName = Literal[
309
308
  "m2",
310
309
  "machinelearning",
311
310
  "macie2",
311
+ "mailmanager",
312
312
  "managedblockchain",
313
313
  "managedblockchain-query",
314
314
  "marketplace-agreement",
@@ -358,6 +358,7 @@ ServiceName = Literal[
358
358
  "payment-cryptography",
359
359
  "payment-cryptography-data",
360
360
  "pca-connector-ad",
361
+ "pca-connector-scep",
361
362
  "personalize",
362
363
  "personalize-events",
363
364
  "personalize-runtime",
@@ -396,6 +397,7 @@ ServiceName = Literal[
396
397
  "route53-recovery-control-config",
397
398
  "route53-recovery-readiness",
398
399
  "route53domains",
400
+ "route53profiles",
399
401
  "route53resolver",
400
402
  "rum",
401
403
  "s3",
@@ -446,6 +448,7 @@ ServiceName = Literal[
446
448
  "support-app",
447
449
  "swf",
448
450
  "synthetics",
451
+ "taxsettings",
449
452
  "textract",
450
453
  "timestream-influxdb",
451
454
  "timestream-query",
@@ -93,7 +93,6 @@ ServiceName = Literal[
93
93
  "account",
94
94
  "acm",
95
95
  "acm-pca",
96
- "alexaforbusiness",
97
96
  "amp",
98
97
  "amplify",
99
98
  "amplifybackend",
@@ -108,11 +107,13 @@ ServiceName = Literal[
108
107
  "appintegrations",
109
108
  "application-autoscaling",
110
109
  "application-insights",
110
+ "application-signals",
111
111
  "applicationcostprofiler",
112
112
  "appmesh",
113
113
  "apprunner",
114
114
  "appstream",
115
115
  "appsync",
116
+ "apptest",
116
117
  "arc-zonal-shift",
117
118
  "artifact",
118
119
  "athena",
@@ -122,7 +123,6 @@ ServiceName = Literal[
122
123
  "b2bi",
123
124
  "backup",
124
125
  "backup-gateway",
125
- "backupstorage",
126
126
  "batch",
127
127
  "bcm-data-exports",
128
128
  "bedrock",
@@ -248,7 +248,6 @@ ServiceName = Literal[
248
248
  "guardduty",
249
249
  "health",
250
250
  "healthlake",
251
- "honeycode",
252
251
  "iam",
253
252
  "identitystore",
254
253
  "imagebuilder",
@@ -309,6 +308,7 @@ ServiceName = Literal[
309
308
  "m2",
310
309
  "machinelearning",
311
310
  "macie2",
311
+ "mailmanager",
312
312
  "managedblockchain",
313
313
  "managedblockchain-query",
314
314
  "marketplace-agreement",
@@ -358,6 +358,7 @@ ServiceName = Literal[
358
358
  "payment-cryptography",
359
359
  "payment-cryptography-data",
360
360
  "pca-connector-ad",
361
+ "pca-connector-scep",
361
362
  "personalize",
362
363
  "personalize-events",
363
364
  "personalize-runtime",
@@ -396,6 +397,7 @@ ServiceName = Literal[
396
397
  "route53-recovery-control-config",
397
398
  "route53-recovery-readiness",
398
399
  "route53domains",
400
+ "route53profiles",
399
401
  "route53resolver",
400
402
  "rum",
401
403
  "s3",
@@ -446,6 +448,7 @@ ServiceName = Literal[
446
448
  "support-app",
447
449
  "swf",
448
450
  "synthetics",
451
+ "taxsettings",
449
452
  "textract",
450
453
  "timestream-influxdb",
451
454
  "timestream-query",
@@ -34,7 +34,7 @@ from botocore.paginate import PageIterator, Paginator
34
34
 
35
35
  from .literals import JobStatusType
36
36
  from .type_defs import (
37
- DescribeComputeEnvironmentsResponsePaginatorTypeDef,
37
+ DescribeComputeEnvironmentsResponseTypeDef,
38
38
  DescribeJobDefinitionsResponseTypeDef,
39
39
  DescribeJobQueuesResponseTypeDef,
40
40
  KeyValuesPairTypeDef,
@@ -72,7 +72,7 @@ class DescribeComputeEnvironmentsPaginator(Paginator):
72
72
  *,
73
73
  computeEnvironments: Sequence[str] = ...,
74
74
  PaginationConfig: PaginatorConfigTypeDef = ...,
75
- ) -> _PageIterator[DescribeComputeEnvironmentsResponsePaginatorTypeDef]:
75
+ ) -> _PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
76
76
  """
77
77
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.DescribeComputeEnvironments.paginate)
78
78
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describecomputeenvironmentspaginator)
@@ -34,7 +34,7 @@ from botocore.paginate import PageIterator, Paginator
34
34
 
35
35
  from .literals import JobStatusType
36
36
  from .type_defs import (
37
- DescribeComputeEnvironmentsResponsePaginatorTypeDef,
37
+ DescribeComputeEnvironmentsResponseTypeDef,
38
38
  DescribeJobDefinitionsResponseTypeDef,
39
39
  DescribeJobQueuesResponseTypeDef,
40
40
  KeyValuesPairTypeDef,
@@ -70,7 +70,7 @@ class DescribeComputeEnvironmentsPaginator(Paginator):
70
70
  *,
71
71
  computeEnvironments: Sequence[str] = ...,
72
72
  PaginationConfig: PaginatorConfigTypeDef = ...,
73
- ) -> _PageIterator[DescribeComputeEnvironmentsResponsePaginatorTypeDef]:
73
+ ) -> _PageIterator[DescribeComputeEnvironmentsResponseTypeDef]:
74
74
  """
75
75
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/batch.html#Batch.Paginator.DescribeComputeEnvironments.paginate)
76
76
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_batch/paginators/#describecomputeenvironmentspaginator)