Skip to content

Commit 381d24d

Browse files
Update ASF APIs (#12916)
Co-authored-by: LocalStack Bot <[email protected]>
1 parent 3fb4ab8 commit 381d24d

File tree

8 files changed

+61
-42
lines changed

8 files changed

+61
-42
lines changed

localstack-core/localstack/aws/api/ec2/__init__.py

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2337,6 +2337,20 @@ class InstanceType(StrEnum):
23372337
r8gd_48xlarge = "r8gd.48xlarge"
23382338
r8gd_metal_24xl = "r8gd.metal-24xl"
23392339
r8gd_metal_48xl = "r8gd.metal-48xl"
2340+
c8gn_medium = "c8gn.medium"
2341+
c8gn_large = "c8gn.large"
2342+
c8gn_xlarge = "c8gn.xlarge"
2343+
c8gn_2xlarge = "c8gn.2xlarge"
2344+
c8gn_4xlarge = "c8gn.4xlarge"
2345+
c8gn_8xlarge = "c8gn.8xlarge"
2346+
c8gn_12xlarge = "c8gn.12xlarge"
2347+
c8gn_16xlarge = "c8gn.16xlarge"
2348+
c8gn_24xlarge = "c8gn.24xlarge"
2349+
c8gn_48xlarge = "c8gn.48xlarge"
2350+
c8gn_metal_24xl = "c8gn.metal-24xl"
2351+
c8gn_metal_48xl = "c8gn.metal-48xl"
2352+
f2_6xlarge = "f2.6xlarge"
2353+
p6e_gb200_36xlarge = "p6e-gb200.36xlarge"
23402354

23412355

23422356
class InstanceTypeHypervisor(StrEnum):
@@ -3596,6 +3610,7 @@ class TransitGatewayAttachmentResourceType(StrEnum):
35963610
connect = "connect"
35973611
peering = "peering"
35983612
tgw_peering = "tgw-peering"
3613+
network_function = "network-function"
35993614

36003615

36013616
class TransitGatewayAttachmentState(StrEnum):
@@ -7135,7 +7150,7 @@ class FleetLaunchTemplateOverrides(TypedDict, total=False):
71357150
InstanceType: Optional[InstanceType]
71367151
MaxPrice: Optional[String]
71377152
SubnetId: Optional[String]
7138-
AvailabilityZone: Optional[String]
7153+
AvailabilityZone: Optional[AvailabilityZoneName]
71397154
WeightedCapacity: Optional[Double]
71407155
Priority: Optional[Double]
71417156
Placement: Optional[PlacementResponse]
@@ -7280,7 +7295,7 @@ class FleetLaunchTemplateOverridesRequest(TypedDict, total=False):
72807295
InstanceType: Optional[InstanceType]
72817296
MaxPrice: Optional[String]
72827297
SubnetId: Optional[SubnetId]
7283-
AvailabilityZone: Optional[String]
7298+
AvailabilityZone: Optional[AvailabilityZoneName]
72847299
WeightedCapacity: Optional[Double]
72857300
Priority: Optional[Double]
72867301
Placement: Optional[Placement]
@@ -20630,6 +20645,7 @@ class StartVpcEndpointServicePrivateDnsVerificationResult(TypedDict, total=False
2063020645
class StopInstancesRequest(ServiceRequest):
2063120646
InstanceIds: InstanceIdStringList
2063220647
Hibernate: Optional[Boolean]
20648+
SkipOsShutdown: Optional[Boolean]
2063320649
DryRun: Optional[Boolean]
2063420650
Force: Optional[Boolean]
2063520651

@@ -20662,6 +20678,7 @@ class TerminateClientVpnConnectionsResult(TypedDict, total=False):
2066220678

2066320679
class TerminateInstancesRequest(ServiceRequest):
2066420680
InstanceIds: InstanceIdStringList
20681+
SkipOsShutdown: Optional[Boolean]
2066520682
DryRun: Optional[Boolean]
2066620683

2066720684

@@ -29075,6 +29092,7 @@ def stop_instances(
2907529092
context: RequestContext,
2907629093
instance_ids: InstanceIdStringList,
2907729094
hibernate: Boolean | None = None,
29095+
skip_os_shutdown: Boolean | None = None,
2907829096
dry_run: Boolean | None = None,
2907929097
force: Boolean | None = None,
2908029098
**kwargs,
@@ -29098,6 +29116,7 @@ def terminate_instances(
2909829116
self,
2909929117
context: RequestContext,
2910029118
instance_ids: InstanceIdStringList,
29119+
skip_os_shutdown: Boolean | None = None,
2910129120
dry_run: Boolean | None = None,
2910229121
**kwargs,
2910329122
) -> TerminateInstancesResult:

localstack-core/localstack/aws/api/lambda_/__init__.py

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -378,21 +378,21 @@ class UpdateRuntimeOn(StrEnum):
378378

379379
class CodeSigningConfigNotFoundException(ServiceException):
380380
code: str = "CodeSigningConfigNotFoundException"
381-
sender_fault: bool = False
381+
sender_fault: bool = True
382382
status_code: int = 404
383383
Type: Optional[String]
384384

385385

386386
class CodeStorageExceededException(ServiceException):
387387
code: str = "CodeStorageExceededException"
388-
sender_fault: bool = False
388+
sender_fault: bool = True
389389
status_code: int = 400
390390
Type: Optional[String]
391391

392392

393393
class CodeVerificationFailedException(ServiceException):
394394
code: str = "CodeVerificationFailedException"
395-
sender_fault: bool = False
395+
sender_fault: bool = True
396396
status_code: int = 400
397397
Type: Optional[String]
398398

@@ -421,28 +421,28 @@ class EC2UnexpectedException(ServiceException):
421421

422422
class EFSIOException(ServiceException):
423423
code: str = "EFSIOException"
424-
sender_fault: bool = False
424+
sender_fault: bool = True
425425
status_code: int = 410
426426
Type: Optional[String]
427427

428428

429429
class EFSMountConnectivityException(ServiceException):
430430
code: str = "EFSMountConnectivityException"
431-
sender_fault: bool = False
431+
sender_fault: bool = True
432432
status_code: int = 408
433433
Type: Optional[String]
434434

435435

436436
class EFSMountFailureException(ServiceException):
437437
code: str = "EFSMountFailureException"
438-
sender_fault: bool = False
438+
sender_fault: bool = True
439439
status_code: int = 403
440440
Type: Optional[String]
441441

442442

443443
class EFSMountTimeoutException(ServiceException):
444444
code: str = "EFSMountTimeoutException"
445-
sender_fault: bool = False
445+
sender_fault: bool = True
446446
status_code: int = 408
447447
Type: Optional[String]
448448

@@ -456,21 +456,21 @@ class ENILimitReachedException(ServiceException):
456456

457457
class InvalidCodeSignatureException(ServiceException):
458458
code: str = "InvalidCodeSignatureException"
459-
sender_fault: bool = False
459+
sender_fault: bool = True
460460
status_code: int = 400
461461
Type: Optional[String]
462462

463463

464464
class InvalidParameterValueException(ServiceException):
465465
code: str = "InvalidParameterValueException"
466-
sender_fault: bool = False
466+
sender_fault: bool = True
467467
status_code: int = 400
468468
Type: Optional[String]
469469

470470

471471
class InvalidRequestContentException(ServiceException):
472472
code: str = "InvalidRequestContentException"
473-
sender_fault: bool = False
473+
sender_fault: bool = True
474474
status_code: int = 400
475475
Type: Optional[String]
476476

@@ -533,56 +533,56 @@ class KMSNotFoundException(ServiceException):
533533

534534
class PolicyLengthExceededException(ServiceException):
535535
code: str = "PolicyLengthExceededException"
536-
sender_fault: bool = False
536+
sender_fault: bool = True
537537
status_code: int = 400
538538
Type: Optional[String]
539539

540540

541541
class PreconditionFailedException(ServiceException):
542542
code: str = "PreconditionFailedException"
543-
sender_fault: bool = False
543+
sender_fault: bool = True
544544
status_code: int = 412
545545
Type: Optional[String]
546546

547547

548548
class ProvisionedConcurrencyConfigNotFoundException(ServiceException):
549549
code: str = "ProvisionedConcurrencyConfigNotFoundException"
550-
sender_fault: bool = False
550+
sender_fault: bool = True
551551
status_code: int = 404
552552
Type: Optional[String]
553553

554554

555555
class RecursiveInvocationException(ServiceException):
556556
code: str = "RecursiveInvocationException"
557-
sender_fault: bool = False
557+
sender_fault: bool = True
558558
status_code: int = 400
559559
Type: Optional[String]
560560

561561

562562
class RequestTooLargeException(ServiceException):
563563
code: str = "RequestTooLargeException"
564-
sender_fault: bool = False
564+
sender_fault: bool = True
565565
status_code: int = 413
566566
Type: Optional[String]
567567

568568

569569
class ResourceConflictException(ServiceException):
570570
code: str = "ResourceConflictException"
571-
sender_fault: bool = False
571+
sender_fault: bool = True
572572
status_code: int = 409
573573
Type: Optional[String]
574574

575575

576576
class ResourceInUseException(ServiceException):
577577
code: str = "ResourceInUseException"
578-
sender_fault: bool = False
578+
sender_fault: bool = True
579579
status_code: int = 400
580580
Type: Optional[String]
581581

582582

583583
class ResourceNotFoundException(ServiceException):
584584
code: str = "ResourceNotFoundException"
585-
sender_fault: bool = False
585+
sender_fault: bool = True
586586
status_code: int = 404
587587
Type: Optional[String]
588588

@@ -603,21 +603,21 @@ class ServiceException(ServiceException):
603603

604604
class SnapStartException(ServiceException):
605605
code: str = "SnapStartException"
606-
sender_fault: bool = False
606+
sender_fault: bool = True
607607
status_code: int = 400
608608
Type: Optional[String]
609609

610610

611611
class SnapStartNotReadyException(ServiceException):
612612
code: str = "SnapStartNotReadyException"
613-
sender_fault: bool = False
613+
sender_fault: bool = True
614614
status_code: int = 409
615615
Type: Optional[String]
616616

617617

618618
class SnapStartTimeoutException(ServiceException):
619619
code: str = "SnapStartTimeoutException"
620-
sender_fault: bool = False
620+
sender_fault: bool = True
621621
status_code: int = 408
622622
Type: Optional[String]
623623

@@ -631,7 +631,7 @@ class SubnetIPAddressLimitReachedException(ServiceException):
631631

632632
class TooManyRequestsException(ServiceException):
633633
code: str = "TooManyRequestsException"
634-
sender_fault: bool = False
634+
sender_fault: bool = True
635635
status_code: int = 429
636636
retryAfterSeconds: Optional[String]
637637
Type: Optional[String]
@@ -640,7 +640,7 @@ class TooManyRequestsException(ServiceException):
640640

641641
class UnsupportedMediaTypeException(ServiceException):
642642
code: str = "UnsupportedMediaTypeException"
643-
sender_fault: bool = False
643+
sender_fault: bool = True
644644
status_code: int = 415
645645
Type: Optional[String]
646646

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ Issues = "https://github.com/localstack/localstack/issues"
5353
# minimal required to actually run localstack on the host for services natively implemented in python
5454
base-runtime = [
5555
# pinned / updated by ASF update action
56-
"boto3==1.39.9",
56+
"boto3==1.39.14",
5757
# pinned / updated by ASF update action
58-
"botocore==1.39.9",
58+
"botocore==1.39.14",
5959
"awscrt>=0.13.14,!=0.27.1",
6060
"cbor2>=5.5.0",
6161
"dnspython>=1.16.0",
@@ -78,7 +78,7 @@ base-runtime = [
7878
runtime = [
7979
"localstack-core[base-runtime]",
8080
# pinned / updated by ASF update action
81-
"awscli==1.41.9",
81+
"awscli==1.41.14",
8282
"airspeed-ext>=0.6.3",
8383
# version that has a built wheel
8484
"kclpy-ext>=3.0.0",

requirements-base-runtime.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ attrs==25.3.0
1111
# referencing
1212
awscrt==0.27.4
1313
# via localstack-core (pyproject.toml)
14-
boto3==1.39.9
14+
boto3==1.39.14
1515
# via localstack-core (pyproject.toml)
16-
botocore==1.39.9
16+
botocore==1.39.14
1717
# via
1818
# boto3
1919
# localstack-core (pyproject.toml)

requirements-dev.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ aws-sam-translator==1.99.0
3939
# localstack-core
4040
aws-xray-sdk==2.14.0
4141
# via moto-ext
42-
awscli==1.41.9
42+
awscli==1.41.14
4343
# via localstack-core
4444
awscrt==0.27.4
4545
# via localstack-core
46-
boto3==1.39.9
46+
boto3==1.39.14
4747
# via
4848
# aws-sam-translator
4949
# kclpy-ext
5050
# localstack-core
5151
# moto-ext
52-
botocore==1.39.9
52+
botocore==1.39.14
5353
# via
5454
# aws-xray-sdk
5555
# awscli

requirements-runtime.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ aws-sam-translator==1.99.0
2727
# localstack-core (pyproject.toml)
2828
aws-xray-sdk==2.14.0
2929
# via moto-ext
30-
awscli==1.41.9
30+
awscli==1.41.14
3131
# via localstack-core (pyproject.toml)
3232
awscrt==0.27.4
3333
# via localstack-core
34-
boto3==1.39.9
34+
boto3==1.39.14
3535
# via
3636
# aws-sam-translator
3737
# kclpy-ext
3838
# localstack-core
3939
# moto-ext
40-
botocore==1.39.9
40+
botocore==1.39.14
4141
# via
4242
# aws-xray-sdk
4343
# awscli

requirements-test.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@ aws-sam-translator==1.99.0
3939
# localstack-core
4040
aws-xray-sdk==2.14.0
4141
# via moto-ext
42-
awscli==1.41.9
42+
awscli==1.41.14
4343
# via localstack-core
4444
awscrt==0.27.4
4545
# via localstack-core
46-
boto3==1.39.9
46+
boto3==1.39.14
4747
# via
4848
# aws-sam-translator
4949
# kclpy-ext
5050
# localstack-core
5151
# moto-ext
52-
botocore==1.39.9
52+
botocore==1.39.14
5353
# via
5454
# aws-xray-sdk
5555
# awscli

requirements-typehint.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ aws-sam-translator==1.99.0
3939
# localstack-core
4040
aws-xray-sdk==2.14.0
4141
# via moto-ext
42-
awscli==1.41.9
42+
awscli==1.41.14
4343
# via localstack-core
4444
awscrt==0.27.4
4545
# via localstack-core
46-
boto3==1.39.9
46+
boto3==1.39.14
4747
# via
4848
# aws-sam-translator
4949
# kclpy-ext
5050
# localstack-core
5151
# moto-ext
5252
boto3-stubs==1.39.10
5353
# via localstack-core (pyproject.toml)
54-
botocore==1.39.9
54+
botocore==1.39.14
5555
# via
5656
# aws-xray-sdk
5757
# awscli

0 commit comments

Comments
 (0)