Skip to content

Commit

Permalink
2025-01-08T23:01:12Z
Browse files Browse the repository at this point in the history
  • Loading branch information
wrmsr committed Jan 8, 2025
1 parent 0b26b79 commit 759b2e6
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 80 deletions.
4 changes: 2 additions & 2 deletions ominfra/clouds/aws/models/gen/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def gen_all_shapes(

out.write('\n\n')
out.write('ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([\n')
for n in all_shapes:
for n in sorted(all_shapes):
out.write(f' {n},\n')
out.write('])\n')

Expand Down Expand Up @@ -469,7 +469,7 @@ def gen_all_operations(

out.write('\n')
out.write('ALL_OPERATIONS: frozenset[_base.Operation] = frozenset([\n')
for n in all_operations:
for n in sorted(all_operations):
out.write(f' {n},\n')
out.write('])\n')

Expand Down
58 changes: 29 additions & 29 deletions ominfra/clouds/aws/models/services/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -3315,39 +3315,58 @@ class DescribeInstancesResult(


ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
BlockDeviceMapping,
BlockPublicAccessStates,
CapacityReservationSpecification,
CapacityReservationSpecificationResponse,
CapacityReservationTarget,
CapacityReservationTargetResponse,
ConnectionTrackingSpecificationRequest,
ConnectionTrackingSpecificationResponse,
CpuOptions,
CpuOptionsRequest,
CreditSpecificationRequest,
DescribeInstancesRequest,
DescribeInstancesResult,
DescribeVpcsRequest,
DescribeVpcsResult,
EbsBlockDevice,
EbsInstanceBlockDevice,
ElasticGpuAssociation,
ElasticGpuSpecification,
ElasticInferenceAccelerator,
ElasticInferenceAcceleratorAssociation,
EnaSrdSpecificationRequest,
EnaSrdUdpSpecificationRequest,
EnclaveOptions,
EnclaveOptionsRequest,
Filter,
GroupIdentifier,
HibernationOptions,
HibernationOptionsRequest,
IamInstanceProfile,
IamInstanceProfileSpecification,
Instance,
InstanceAttachmentEnaSrdSpecification,
InstanceAttachmentEnaSrdUdpSpecification,
InstanceBlockDeviceMapping,
InstanceIpv4Prefix,
InstanceIpv6Address,
InstanceIpv6Prefix,
InstanceMaintenanceOptions,
InstanceMaintenanceOptionsRequest,
InstanceMarketOptionsRequest,
InstanceMetadataOptionsRequest,
InstanceMetadataOptionsResponse,
InstanceNetworkInterface,
InstanceNetworkInterfaceAssociation,
InstanceNetworkInterfaceAttachment,
InstanceNetworkInterfaceSpecification,
InstanceNetworkPerformanceOptions,
InstanceNetworkPerformanceOptionsRequest,
InstancePrivateIpAddress,
InstanceState,
InstanceStateChange,
Ipv4PrefixSpecificationRequest,
Ipv6PrefixSpecificationRequest,
LaunchTemplateSpecification,
Expand All @@ -3361,42 +3380,23 @@ class DescribeInstancesResult(
PrivateDnsNameOptionsResponse,
PrivateIpAddressSpecification,
ProductCode,
RebootInstancesRequest,
Reservation,
RunInstancesMonitoringEnabled,
RunInstancesRequest,
SpotMarketOptions,
StateReason,
TagSpecification,
VpcCidrBlockState,
BlockDeviceMapping,
CapacityReservationSpecification,
CapacityReservationSpecificationResponse,
EbsInstanceBlockDevice,
EnaSrdSpecificationRequest,
Filter,
InstanceAttachmentEnaSrdSpecification,
InstanceMarketOptionsRequest,
InstancePrivateIpAddress,
InstanceStateChange,
RebootInstancesRequest,
StartInstancesRequest,
StopInstancesRequest,
TerminateInstancesRequest,
VpcCidrBlockAssociation,
VpcIpv6CidrBlockAssociation,
InstanceBlockDeviceMapping,
InstanceNetworkInterfaceAttachment,
InstanceNetworkInterfaceSpecification,
DescribeInstancesRequest,
DescribeVpcsRequest,
InstanceNetworkInterface,
StartInstancesResult,
StateReason,
StopInstancesRequest,
StopInstancesResult,
TagSpecification,
TerminateInstancesRequest,
TerminateInstancesResult,
Vpc,
RunInstancesRequest,
DescribeVpcsResult,
Instance,
Reservation,
DescribeInstancesResult,
VpcCidrBlockAssociation,
VpcCidrBlockState,
VpcIpv6CidrBlockAssociation,
])


Expand Down
12 changes: 6 additions & 6 deletions ominfra/clouds/aws/models/services/lambda_.py
Original file line number Diff line number Diff line change
Expand Up @@ -759,25 +759,25 @@ class ListFunctionsResponse(
ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
DeadLetterConfig,
EnvironmentError_,
EnvironmentResponse,
EphemeralStorage,
FileSystemConfig,
FunctionConfiguration,
ImageConfig,
ImageConfigError,
ImageConfigResponse,
InvalidParameterValueException,
Layer,
ListFunctionsRequest,
ListFunctionsResponse,
LoggingConfig,
RuntimeVersionConfig,
RuntimeVersionError,
ServiceException,
SnapStartResponse,
TooManyRequestsException,
TracingConfigResponse,
EnvironmentResponse,
ImageConfig,
RuntimeVersionConfig,
VpcConfigResponse,
ImageConfigResponse,
FunctionConfiguration,
ListFunctionsResponse,
])


Expand Down
62 changes: 31 additions & 31 deletions ominfra/clouds/aws/models/services/rds.py
Original file line number Diff line number Diff line change
Expand Up @@ -1517,64 +1517,64 @@ class DBInstanceMessage(

ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
AuthorizationNotFoundFault,
AvailabilityZone,
BackupPolicyNotFoundFault,
CertificateDetails,
CertificateNotFoundFault,
CreateDBInstanceMessage,
CreateDBInstanceResult,
DBClusterNotFoundFault,
DBInstance,
DBInstanceAlreadyExistsFault,
DBInstanceAutomatedBackupQuotaExceededFault,
DBInstanceAutomatedBackupsReplication,
DBInstanceMessage,
DBInstanceNotFoundFault,
DBInstanceRole,
DBInstanceStatusInfo,
DBParameterGroupNotFoundFault,
DBParameterGroupStatus,
DBSecurityGroupMembership,
DBSecurityGroupNotFoundFault,
DBSnapshotAlreadyExistsFault,
DBSubnetGroup,
DBSubnetGroupDoesNotCoverEnoughAZs,
DBSubnetGroupNotFoundFault,
DeleteDBInstanceMessage,
DeleteDBInstanceResult,
DescribeDBInstancesMessage,
DomainMembership,
DomainNotFoundFault,
Endpoint,
Filter,
InstanceQuotaExceededFault,
InsufficientDBInstanceCapacityFault,
InvalidDBClusterStateFault,
InvalidDBInstanceStateFault,
InvalidSubnet,
InvalidVPCNetworkStateFault,
KMSKeyNotAccessibleFault,
NetworkTypeNotSupported,
OptionGroupNotFoundFault,
ProvisionedIopsNotAvailableInAZFault,
SnapshotQuotaExceededFault,
StorageQuotaExceededFault,
StorageTypeNotSupportedFault,
TenantDatabaseQuotaExceededFault,
AvailabilityZone,
CertificateDetails,
DBInstanceAutomatedBackupsReplication,
DBInstanceRole,
DBInstanceStatusInfo,
DBParameterGroupStatus,
DBSecurityGroupMembership,
DeleteDBInstanceMessage,
Endpoint,
MasterUserSecret,
NetworkTypeNotSupported,
OptionGroupMembership,
OptionGroupNotFoundFault,
Outpost,
ProcessorFeature,
RebootDBInstanceMessage,
StartDBInstanceMessage,
StopDBInstanceMessage,
VpcSecurityGroupMembership,
DomainMembership,
Filter,
PendingCloudwatchLogsExports,
Subnet,
CreateDBInstanceMessage,
PendingModifiedValues,
DBSubnetGroup,
DescribeDBInstancesMessage,
DBInstance,
CreateDBInstanceResult,
DeleteDBInstanceResult,
ProcessorFeature,
ProvisionedIopsNotAvailableInAZFault,
RebootDBInstanceMessage,
RebootDBInstanceResult,
SnapshotQuotaExceededFault,
StartDBInstanceMessage,
StartDBInstanceResult,
StopDBInstanceMessage,
StopDBInstanceResult,
DBInstanceMessage,
StorageQuotaExceededFault,
StorageTypeNotSupportedFault,
Subnet,
TenantDatabaseQuotaExceededFault,
VpcSecurityGroupMembership,
])


Expand Down
24 changes: 12 additions & 12 deletions ominfra/clouds/aws/models/services/s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -1147,28 +1147,28 @@ class ListObjectsV2Output(


ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
EncryptionTypeMismatch,
InvalidRequest,
InvalidWriteOffset,
NoSuchBucket,
NoSuchKey,
TooManyParts,
Bucket,
CommonPrefix,
DeleteObjectOutput,
DeleteObjectRequest,
EncryptionTypeMismatch,
GetObjectOutput,
GetObjectRequest,
InvalidObjectState,
InvalidRequest,
InvalidWriteOffset,
ListBucketsOutput,
ListBucketsRequest,
Owner,
PutObjectOutput,
RestoreStatus,
GetObjectOutput,
ListObjectsV2Output,
ListObjectsV2Request,
NoSuchBucket,
NoSuchKey,
Object,
Owner,
PutObjectOutput,
PutObjectRequest,
ListBucketsOutput,
ListObjectsV2Output,
RestoreStatus,
TooManyParts,
])


Expand Down

0 comments on commit 759b2e6

Please sign in to comment.