Skip to content

Commit a6ec498

Browse files
Update ASF APIs (#12817)
Co-authored-by: LocalStack Bot <[email protected]>
1 parent 24d0f8f commit a6ec498

File tree

11 files changed

+50
-18
lines changed

11 files changed

+50
-18
lines changed

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@
270270
NeuronDeviceName = str
271271
NextToken = str
272272
NitroTpmSupportedVersionType = str
273+
OdbNetworkArn = str
273274
OfferingId = str
274275
OutpostArn = str
275276
OutpostLagId = str
@@ -5692,8 +5693,10 @@ class EbsBlockDevice(TypedDict, total=False):
56925693
KmsKeyId: Optional[String]
56935694
Throughput: Optional[Integer]
56945695
OutpostArn: Optional[String]
5696+
AvailabilityZone: Optional[String]
56955697
Encrypted: Optional[Boolean]
56965698
VolumeInitializationRate: Optional[Integer]
5699+
AvailabilityZoneId: Optional[String]
56975700

56985701

56995702
class BlockDeviceMapping(TypedDict, total=False):
@@ -7341,6 +7344,7 @@ class CreateFpgaImageResult(TypedDict, total=False):
73417344

73427345
class CreateImageRequest(ServiceRequest):
73437346
TagSpecifications: Optional[TagSpecificationList]
7347+
SnapshotLocation: Optional[SnapshotLocationEnum]
73447348
DryRun: Optional[Boolean]
73457349
InstanceId: InstanceId
73467350
Name: String
@@ -8886,6 +8890,7 @@ class CreateRouteRequest(ServiceRequest):
88868890
LocalGatewayId: Optional[LocalGatewayId]
88878891
CarrierGatewayId: Optional[CarrierGatewayId]
88888892
CoreNetworkArn: Optional[CoreNetworkArn]
8893+
OdbNetworkArn: Optional[OdbNetworkArn]
88898894
DryRun: Optional[Boolean]
88908895
RouteTableId: RouteTableId
88918896
DestinationCidrBlock: Optional[String]
@@ -9022,6 +9027,7 @@ class Route(TypedDict, total=False):
90229027
State: Optional[RouteState]
90239028
VpcPeeringConnectionId: Optional[String]
90249029
CoreNetworkArn: Optional[CoreNetworkArn]
9030+
OdbNetworkArn: Optional[OdbNetworkArn]
90259031

90269032

90279033
RouteList = List[Route]
@@ -19955,6 +19961,7 @@ class ReplaceRouteRequest(ServiceRequest):
1995519961
LocalGatewayId: Optional[LocalGatewayId]
1995619962
CarrierGatewayId: Optional[CarrierGatewayId]
1995719963
CoreNetworkArn: Optional[CoreNetworkArn]
19964+
OdbNetworkArn: Optional[OdbNetworkArn]
1995819965
DryRun: Optional[Boolean]
1995919966
RouteTableId: RouteTableId
1996019967
DestinationCidrBlock: Optional[String]
@@ -21608,6 +21615,7 @@ def create_image(
2160821615
instance_id: InstanceId,
2160921616
name: String,
2161021617
tag_specifications: TagSpecificationList | None = None,
21618+
snapshot_location: SnapshotLocationEnum | None = None,
2161121619
dry_run: Boolean | None = None,
2161221620
description: String | None = None,
2161321621
no_reboot: Boolean | None = None,
@@ -22097,6 +22105,7 @@ def create_route(
2209722105
local_gateway_id: LocalGatewayId | None = None,
2209822106
carrier_gateway_id: CarrierGatewayId | None = None,
2209922107
core_network_arn: CoreNetworkArn | None = None,
22108+
odb_network_arn: OdbNetworkArn | None = None,
2210022109
dry_run: Boolean | None = None,
2210122110
destination_cidr_block: String | None = None,
2210222111
gateway_id: RouteGatewayId | None = None,
@@ -28503,6 +28512,7 @@ def replace_route(
2850328512
local_gateway_id: LocalGatewayId | None = None,
2850428513
carrier_gateway_id: CarrierGatewayId | None = None,
2850528514
core_network_arn: CoreNetworkArn | None = None,
28515+
odb_network_arn: OdbNetworkArn | None = None,
2850628516
dry_run: Boolean | None = None,
2850728517
destination_cidr_block: String | None = None,
2850828518
gateway_id: RouteGatewayId | None = None,

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
Boolean = bool
1111
Count = int
1212
CreatorRequestId = str
13+
DelegationRecord = str
1314
DestinationArn = str
1415
DomainListFileUrl = str
1516
DomainName = str
@@ -139,6 +140,7 @@ class IpAddressStatus(StrEnum):
139140
DELETE_FAILED_FAS_EXPIRED = "DELETE_FAILED_FAS_EXPIRED"
140141
UPDATING = "UPDATING"
141142
UPDATE_FAILED = "UPDATE_FAILED"
143+
ISOLATED = "ISOLATED"
142144

143145

144146
class MutationProtectionStatus(StrEnum):
@@ -183,6 +185,7 @@ class ResolverDNSSECValidationStatus(StrEnum):
183185
class ResolverEndpointDirection(StrEnum):
184186
INBOUND = "INBOUND"
185187
OUTBOUND = "OUTBOUND"
188+
INBOUND_DELEGATION = "INBOUND_DELEGATION"
186189

187190

188191
class ResolverEndpointStatus(StrEnum):
@@ -241,6 +244,7 @@ class RuleTypeOption(StrEnum):
241244
FORWARD = "FORWARD"
242245
SYSTEM = "SYSTEM"
243246
RECURSIVE = "RECURSIVE"
247+
DELEGATE = "DELEGATE"
244248

245249

246250
class ShareStatus(StrEnum):
@@ -667,6 +671,7 @@ class CreateResolverRuleRequest(ServiceRequest):
667671
TargetIps: Optional[TargetList]
668672
ResolverEndpointId: Optional[ResourceId]
669673
Tags: Optional[TagList]
674+
DelegationRecord: Optional[DelegationRecord]
670675

671676

672677
class ResolverRule(TypedDict, total=False):
@@ -684,6 +689,7 @@ class ResolverRule(TypedDict, total=False):
684689
ShareStatus: Optional[ShareStatus]
685690
CreationTime: Optional[Rfc3339TimeString]
686691
ModificationTime: Optional[Rfc3339TimeString]
692+
DelegationRecord: Optional[DelegationRecord]
687693

688694

689695
class CreateResolverRuleResponse(TypedDict, total=False):
@@ -1520,6 +1526,7 @@ def create_resolver_rule(
15201526
target_ips: TargetList | None = None,
15211527
resolver_endpoint_id: ResourceId | None = None,
15221528
tags: TagList | None = None,
1529+
delegation_record: DelegationRecord | None = None,
15231530
**kwargs,
15241531
) -> CreateResolverRuleResponse:
15251532
raise NotImplementedError

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ class ObjectStorageClass(StrEnum):
495495
GLACIER_IR = "GLACIER_IR"
496496
SNOW = "SNOW"
497497
EXPRESS_ONEZONE = "EXPRESS_ONEZONE"
498+
FSX_OPENZFS = "FSX_OPENZFS"
498499

499500

500501
class ObjectVersionStorageClass(StrEnum):
@@ -574,6 +575,7 @@ class RestoreRequestType(StrEnum):
574575

575576
class ServerSideEncryption(StrEnum):
576577
AES256 = "AES256"
578+
aws_fsx = "aws:fsx"
577579
aws_kms = "aws:kms"
578580
aws_kms_dsse = "aws:kms:dsse"
579581

@@ -600,6 +602,7 @@ class StorageClass(StrEnum):
600602
GLACIER_IR = "GLACIER_IR"
601603
SNOW = "SNOW"
602604
EXPRESS_ONEZONE = "EXPRESS_ONEZONE"
605+
FSX_OPENZFS = "FSX_OPENZFS"
603606

604607

605608
class StorageClassAnalysisSchemaVersion(StrEnum):

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

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
AccessGrantsLocationArn = str
1212
AccessGrantsLocationId = str
1313
AccessKeyId = str
14+
AccessPointBucketName = str
1415
AccessPointName = str
1516
AccountId = str
1617
Alias = str
@@ -25,6 +26,8 @@
2526
ConfirmRemoveSelfBucketAccess = bool
2627
ConfirmationRequired = bool
2728
ContinuationToken = str
29+
DataSourceId = str
30+
DataSourceType = str
2831
Days = int
2932
DaysAfterInitiation = int
3033
DurationSeconds = int
@@ -567,10 +570,12 @@ class AccessPoint(TypedDict, total=False):
567570
Name: AccessPointName
568571
NetworkOrigin: NetworkOrigin
569572
VpcConfiguration: Optional[VpcConfiguration]
570-
Bucket: BucketName
573+
Bucket: AccessPointBucketName
571574
AccessPointArn: Optional[S3AccessPointArn]
572575
Alias: Optional[Alias]
573576
BucketAccountId: Optional[AccountId]
577+
DataSourceId: Optional[DataSourceId]
578+
DataSourceType: Optional[DataSourceType]
574579

575580

576581
AccessPointList = List[AccessPoint]
@@ -1576,7 +1581,7 @@ class GetAccessPointRequest(ServiceRequest):
15761581

15771582
class GetAccessPointResult(TypedDict, total=False):
15781583
Name: Optional[AccessPointName]
1579-
Bucket: Optional[BucketName]
1584+
Bucket: Optional[AccessPointBucketName]
15801585
NetworkOrigin: Optional[NetworkOrigin]
15811586
VpcConfiguration: Optional[VpcConfiguration]
15821587
PublicAccessBlockConfiguration: Optional[PublicAccessBlockConfiguration]
@@ -1585,6 +1590,8 @@ class GetAccessPointResult(TypedDict, total=False):
15851590
AccessPointArn: Optional[S3AccessPointArn]
15861591
Endpoints: Optional[Endpoints]
15871592
BucketAccountId: Optional[AccountId]
1593+
DataSourceId: Optional[DataSourceId]
1594+
DataSourceType: Optional[DataSourceType]
15881595

15891596

15901597
class GetAccessPointScopeRequest(ServiceRequest):
@@ -2037,6 +2044,8 @@ class ListAccessPointsRequest(ServiceRequest):
20372044
Bucket: Optional[BucketName]
20382045
NextToken: Optional[NonEmptyMaxLength1024String]
20392046
MaxResults: Optional[MaxResults]
2047+
DataSourceId: Optional[DataSourceId]
2048+
DataSourceType: Optional[DataSourceType]
20402049

20412050

20422051
class ListAccessPointsResult(TypedDict, total=False):
@@ -2920,6 +2929,8 @@ def list_access_points(
29202929
bucket: BucketName | None = None,
29212930
next_token: NonEmptyMaxLength1024String | None = None,
29222931
max_results: MaxResults | None = None,
2932+
data_source_id: DataSourceId | None = None,
2933+
data_source_type: DataSourceType | None = None,
29232934
**kwargs,
29242935
) -> ListAccessPointsResult:
29252936
raise NotImplementedError

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ class LanguageCode(StrEnum):
128128
cs_CZ = "cs-CZ"
129129
cy_WL = "cy-WL"
130130
el_GR = "el-GR"
131+
et_EE = "et-EE"
131132
et_ET = "et-ET"
132133
eu_ES = "eu-ES"
133134
fi_FI = "fi-FI"

pyproject.toml

Lines changed: 2 additions & 2 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.38.41",
56+
"boto3==1.38.46",
5757
# pinned / updated by ASF update action
58-
"botocore==1.38.41",
58+
"botocore==1.38.46",
5959
"awscrt>=0.13.14,!=0.27.1",
6060
"cbor2>=5.5.0",
6161
"dnspython>=1.16.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.38.41
14+
boto3==1.38.46
1515
# via localstack-core (pyproject.toml)
16-
botocore==1.38.41
16+
botocore==1.38.46
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.40.40
42+
awscli==1.40.45
4343
# via localstack-core
4444
awscrt==0.27.4
4545
# via localstack-core
46-
boto3==1.38.41
46+
boto3==1.38.46
4747
# via
4848
# aws-sam-translator
4949
# kclpy-ext
5050
# localstack-core
5151
# moto-ext
52-
botocore==1.38.41
52+
botocore==1.38.46
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.40.40
30+
awscli==1.40.45
3131
# via localstack-core (pyproject.toml)
3232
awscrt==0.27.4
3333
# via localstack-core
34-
boto3==1.38.41
34+
boto3==1.38.46
3535
# via
3636
# aws-sam-translator
3737
# kclpy-ext
3838
# localstack-core
3939
# moto-ext
40-
botocore==1.38.41
40+
botocore==1.38.46
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.40.40
42+
awscli==1.40.45
4343
# via localstack-core
4444
awscrt==0.27.4
4545
# via localstack-core
46-
boto3==1.38.41
46+
boto3==1.38.46
4747
# via
4848
# aws-sam-translator
4949
# kclpy-ext
5050
# localstack-core
5151
# moto-ext
52-
botocore==1.38.41
52+
botocore==1.38.46
5353
# via
5454
# aws-xray-sdk
5555
# awscli

0 commit comments

Comments
 (0)