8000 update generated ASF APIs to latest version (#9354) · codeperl/localstack@3d1f104 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3d1f104

Browse files
update generated ASF APIs to latest version (localstack#9354)
1 parent 8d0336a commit 3d1f104

File tree

4 files changed

+62
-0
lines changed

4 files changed

+62
-0
lines changed

localstack/aws/api/config/__init__.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -657,6 +657,29 @@ class ResourceType(str):
657657
"AWS::NetworkManager::CustomerGatewayAssociation"
658658
)
659659
AWS_NetworkManager_LinkAssociation = "AWS::NetworkManager::LinkAssociation"
660+
AWS_IoTWireless_MulticastGroup = "AWS::IoTWireless::MulticastGroup"
661+
AWS_Personalize_DatasetGroup = "AWS::Personalize::DatasetGroup"
662+
AWS_IoTTwinMaker_ComponentType = "AWS::IoTTwinMaker::ComponentType"
663+
AWS_CodeBuild_ReportGroup = "AWS::CodeBuild::ReportGroup"
664+
AWS_SageMaker_FeatureGroup = "AWS::SageMaker::FeatureGroup"
665+
AWS_MSK_BatchScramSecret = "AWS::MSK::BatchScramSecret"
666+
AWS_AppStream_Stack = "AWS::AppStream::Stack"
667+
AWS_IoT_JobTemplate = "AWS::IoT::JobTemplate"
668+
AWS_IoTWireless_FuotaTask = "AWS::IoTWireless::FuotaTask"
669+
AWS_IoT_ProvisioningTemplate = "AWS::IoT::ProvisioningTemplate"
670+
AWS_InspectorV2_Filter = "AWS::InspectorV2::Filter"
671+
AWS_Route53Resolver_ResolverQueryLoggingConfigAssociation = (
672+
"AWS::Route53Resolver::ResolverQueryLoggingConfigAssociation"
673+
)
674+
AWS_ServiceDiscovery_Instance = "AWS::ServiceDiscovery::Instance"
675+
AWS_Transfer_Certificate = "AWS::Transfer::Certificate"
676+
AWS_MediaConnect_FlowSource = "AWS::MediaConnect::FlowSource"
677+
AWS_APS_RuleGroupsNamespace = "AWS::APS::RuleGroupsNamespace"
678+
AWS_CodeGuruProfiler_ProfilingGroup = "AWS::CodeGuruProfiler::ProfilingGroup"
679+
AWS_Route53Resolver_ResolverQueryLoggingConfig = (
680+
"AWS::Route53Resolver::ResolverQueryLoggingConfig"
681+
)
682+
AWS_Batch_SchedulingPolicy = "AWS::Batch::SchedulingPolicy"
660683

661684

662685
class ResourceValueType(str):

localstack/aws/api/ec2/__init__.py

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,7 @@ class CapacityReservationInstancePlatform(str):
580580
RHEL_with_HA = "RHEL with HA"
581581
RHEL_with_HA_and_SQL_Server_Standard = "RHEL with HA and SQL Server Standard"
582582
RHEL_with_HA_and_SQL_Server_Enterprise = "RHEL with HA and SQL Server Enterprise"
583+
Ubuntu_Pro = "Ubuntu Pro"
583584

584585

585586
class CapacityReservationPreference(str):
@@ -1051,6 +1052,7 @@ class ImageState(str):
10511052
transient = "transient"
10521053
failed = "failed"
10531054
error = "error"
1055+
disabled = "disabled"
10541056

10551057

10561058
class ImageTypeValues(str):
@@ -10564,6 +10566,7 @@ class DescribeImagesRequest(ServiceRequest):
1056410566
ImageIds: Optional[ImageIdStringList]
1056510567
Owners: Optional[OwnerStringList]
1056610568
IncludeDeprecated: Optional[Boolean]
10569+
IncludeDisabled: Optional[Boolean]
1056710570
DryRun: Optional[Boolean]
1056810571
MaxResults: Optional[Integer]
1056910572
NextToken: Optional[String]
@@ -10600,6 +10603,7 @@ class Image(TypedDict, total=False):
1060010603
TpmSupport: Optional[TpmSupportValues]
1060110604
DeprecationTime: Optional[String]
1060210605
ImdsSupport: Optional[ImdsSupportValues]
10606+
SourceInstanceId: Optional[String]
1060310607

1060410608

1060510609
ImageList = List[Image]
@@ -13895,6 +13899,15 @@ class DisableImageDeprecationResult(TypedDict, total=False):
1389513899
Return: Optional[Boolean]
1389613900

1389713901

13902+
class DisableImageRequest(ServiceRequest):
13903+
ImageId: ImageId
13904+
DryRun: Optional[Boolean]
13905+
13906+
13907+
class DisableImageResult(TypedDict, total=False):
13908+
Return: Optional[Boolean]
13909+
13910+
1389813911
class DisableIpamOrganizationAdminAccountRequest(ServiceRequest):
1389913912
DryRun: Optional[Boolean]
1390013913
DelegatedAdminAccountId: String
@@ -14265,6 +14278,15 @@ class EnableImageDeprecationResult(TypedDict, total=False):
1426514278
Return: Optional[Boolean]
1426614279

1426714280

14281+
class EnableImageRequest(ServiceRequest):
14282+
ImageId: ImageId
14283+
DryRun: Optional[Boolean]
14284+
14285+
14286+
class EnableImageResult(TypedDict, total=False):
14287+
Return: Optional[Boolean]
14288+
14289+
1426814290
class EnableIpamOrganizationAdminAccountRequest(ServiceRequest):
1426914291
DryRun: Optional[Boolean]
1427014292
DelegatedAdminAccountId: String
@@ -20348,6 +20370,7 @@ def describe_images(
2034820370
image_ids: ImageIdStringList = None,
2034920371
owners: OwnerStringList = None,
2035020372
include_deprecated: Boolean = None,
20373+
include_disabled: Boolean = None,
2035120374
dry_run: Boolean = None,
2035220375
max_results: Integer = None,
2035320376
next_token: String = None,
@@ -21684,6 +21707,12 @@ def disable_fast_snapshot_restores(
2168421707
) -> DisableFastSnapshotRestoresResult:
2168521708
raise NotImplementedError
2168621709

21710+
@handler("DisableImage")
21711+
def disable_image(
21712+
self, context: RequestContext, image_id: ImageId, dry_run: Boolean = None
21713+
) -> DisableImageResult:
21714+
raise NotImplementedError
21715+
2168721716
@handler("DisableImageBlockPublicAccess")
2168821717
def disable_image_block_public_access(
2168921718
self, context: RequestContext, dry_run: Boolean = None
@@ -21920,6 +21949,12 @@ def enable_fast_snapshot_restores(
2192021949
) -> EnableFastSnapshotRestoresResult:
2192121950
raise NotImplementedError
2192221951

21952+
@handler("EnableImage")
21953+
def enable_image(
21954+
self, context: RequestContext, image_id: ImageId, dry_run: Boolean = None
21955+
) -> EnableImageResult:
21956+
raise NotImplementedError
21957+
2192321958
@handler("EnableImageBlockPublicAccess")
2192421959
def enable_image_block_public_access(
2192521960
self,

localstack/aws/api/lambda_/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
NamespacedFunctionName = str
6161
NamespacedStatementId = str
6262
NonNegativeInteger = int
63+
NullableBoolean = bool
6364
OrganizationId = str
6465
Origin = str
6566
ParallelizationFactor = int
@@ -852,6 +853,7 @@ class DeadLetterConfig(TypedDict, total=False):
852853
class VpcConfig(TypedDict, total=False):
853854
SubnetIds: Optional[SubnetIds]
854855
SecurityGroupIds: Optional[SecurityGroupIds]
856+
Ipv6AllowedForDualStack: Optional[NullableBoolean]
855857

856858

857859
class FunctionCode(TypedDict, total=False):
@@ -1049,6 +1051,7 @@ class VpcConfigResponse(TypedDict, total=False):
10491051
SubnetIds: Optional[SubnetIds]
10501052
SecurityGroupIds: Optional[SecurityGroupIds]
10511053
VpcId: Optional[VpcId]
1054+
Ipv6AllowedForDualStack: Optional[NullableBoolean]
10521055

10531056

10541057
class FunctionConfiguration(TypedDict, total=False):

localstack/aws/api/transcribe/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class MediaFormat(str):
113113
ogg = "ogg"
114114
amr = "amr"
115115
webm = "webm"
116+
m4a = "m4a"
116117

117118

118119
class MedicalContentIdentificationType(str):

0 commit comments

Comments
 (0)
0