ominfra 0.0.0.dev207__py3-none-any.whl → 0.0.0.dev208__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- ominfra/clouds/aws/models/gen/cli.py +7 -3
- ominfra/clouds/aws/models/gen/gen.py +13 -5
- ominfra/clouds/aws/models/services/ec2.py +701 -0
- ominfra/clouds/aws/models/services/services.toml +7 -0
- {ominfra-0.0.0.dev207.dist-info → ominfra-0.0.0.dev208.dist-info}/METADATA +4 -4
- {ominfra-0.0.0.dev207.dist-info → ominfra-0.0.0.dev208.dist-info}/RECORD +10 -10
- {ominfra-0.0.0.dev207.dist-info → ominfra-0.0.0.dev208.dist-info}/LICENSE +0 -0
- {ominfra-0.0.0.dev207.dist-info → ominfra-0.0.0.dev208.dist-info}/WHEEL +0 -0
- {ominfra-0.0.0.dev207.dist-info → ominfra-0.0.0.dev208.dist-info}/entry_points.txt +0 -0
- {ominfra-0.0.0.dev207.dist-info → ominfra-0.0.0.dev208.dist-info}/top_level.txt +0 -0
@@ -4,6 +4,7 @@ import os.path
|
|
4
4
|
import sys
|
5
5
|
import typing as ta
|
6
6
|
|
7
|
+
from omlish import check
|
7
8
|
from omlish import lang
|
8
9
|
from omlish import marshal as msh
|
9
10
|
from omlish.argparse import all as ap
|
@@ -30,14 +31,17 @@ class Cli(ap.Cli):
|
|
30
31
|
) -> str:
|
31
32
|
service_model = ModelGen.load_service_model(service_name)
|
32
33
|
|
34
|
+
shape_names_seq = check.unique(shape_names or ())
|
35
|
+
operation_names_seq = check.unique(operation_names or ())
|
36
|
+
|
33
37
|
bmg = ModelGen(
|
34
38
|
service_model,
|
35
39
|
shape_names=ModelGen.get_referenced_shape_names(
|
36
40
|
service_model,
|
37
|
-
shape_names=
|
38
|
-
operation_names=
|
41
|
+
shape_names=shape_names_seq,
|
42
|
+
operation_names=operation_names_seq,
|
39
43
|
),
|
40
|
-
operation_names=
|
44
|
+
operation_names=operation_names_seq,
|
41
45
|
)
|
42
46
|
|
43
47
|
return bmg.gen_module()
|
@@ -6,6 +6,7 @@ TODO:
|
|
6
6
|
import builtins
|
7
7
|
import dataclasses as dc
|
8
8
|
import io
|
9
|
+
import keyword
|
9
10
|
import typing as ta
|
10
11
|
|
11
12
|
from omlish import check
|
@@ -182,7 +183,7 @@ class ModelGen:
|
|
182
183
|
pass
|
183
184
|
|
184
185
|
if name in self._shape_names:
|
185
|
-
name = self.
|
186
|
+
name = self.sanitize_global_name(name, upper=True)
|
186
187
|
if not unquoted_names:
|
187
188
|
return f"'{name}'"
|
188
189
|
else:
|
@@ -249,10 +250,17 @@ class ModelGen:
|
|
249
250
|
|
250
251
|
#
|
251
252
|
|
252
|
-
def
|
253
|
+
def sanitize_local_name(self, n: str) -> str:
|
254
|
+
if n in keyword.kwlist:
|
255
|
+
n += '_'
|
256
|
+
return n
|
257
|
+
|
258
|
+
def sanitize_global_name(self, n: str, *, upper: bool = False) -> str:
|
253
259
|
if hasattr(builtins, n):
|
254
260
|
n += '_'
|
255
|
-
|
261
|
+
if upper:
|
262
|
+
n = n[0].upper() + n[1:]
|
263
|
+
return n
|
256
264
|
|
257
265
|
#
|
258
266
|
|
@@ -292,7 +300,7 @@ class ModelGen:
|
|
292
300
|
) -> ShapeSrc:
|
293
301
|
shape: botocore.model.Shape = self._service_model.shape_for(name)
|
294
302
|
|
295
|
-
san_name = self.
|
303
|
+
san_name = self.sanitize_global_name(shape.name, upper=True)
|
296
304
|
|
297
305
|
if isinstance(shape, botocore.model.StructureShape):
|
298
306
|
lines: list[str] = []
|
@@ -315,7 +323,7 @@ class ModelGen:
|
|
315
323
|
for i, (mn, ms) in enumerate(shape.members.items()):
|
316
324
|
if i:
|
317
325
|
lines.append('')
|
318
|
-
fn = self.demangle_name(mn)
|
326
|
+
fn = self.sanitize_local_name(self.demangle_name(mn))
|
319
327
|
mds = [
|
320
328
|
f'member_name={mn!r}',
|
321
329
|
]
|
@@ -90,10 +90,14 @@ class CapacityReservationPreference(_enum.Enum):
|
|
90
90
|
NONE = 'none'
|
91
91
|
|
92
92
|
|
93
|
+
CarrierGatewayId = _ta.NewType('CarrierGatewayId', str)
|
94
|
+
|
93
95
|
CoipPoolId = _ta.NewType('CoipPoolId', str)
|
94
96
|
|
95
97
|
CoreCount = _ta.NewType('CoreCount', int)
|
96
98
|
|
99
|
+
CoreNetworkArn = _ta.NewType('CoreNetworkArn', str)
|
100
|
+
|
97
101
|
CpuManufacturerName = _ta.NewType('CpuManufacturerName', str)
|
98
102
|
|
99
103
|
CurrentGenerationFlag = _ta.NewType('CurrentGenerationFlag', bool)
|
@@ -108,6 +112,8 @@ DescribeInternetGatewaysMaxResults = _ta.NewType('DescribeInternetGatewaysMaxRes
|
|
108
112
|
|
109
113
|
DescribeNetworkInterfacesMaxResults = _ta.NewType('DescribeNetworkInterfacesMaxResults', int)
|
110
114
|
|
115
|
+
DescribeRouteTablesMaxResults = _ta.NewType('DescribeRouteTablesMaxResults', int)
|
116
|
+
|
111
117
|
DescribeSecurityGroupsMaxResults = _ta.NewType('DescribeSecurityGroupsMaxResults', int)
|
112
118
|
|
113
119
|
DescribeSubnetsMaxResults = _ta.NewType('DescribeSubnetsMaxResults', int)
|
@@ -154,6 +160,8 @@ class EbsOptimizedSupport(_enum.Enum):
|
|
154
160
|
|
155
161
|
EfaSupportedFlag = _ta.NewType('EfaSupportedFlag', bool)
|
156
162
|
|
163
|
+
EgressOnlyInternetGatewayId = _ta.NewType('EgressOnlyInternetGatewayId', str)
|
164
|
+
|
157
165
|
ElasticGpuId = _ta.NewType('ElasticGpuId', str)
|
158
166
|
|
159
167
|
ElasticInferenceAcceleratorCount = _ta.NewType('ElasticInferenceAcceleratorCount', int)
|
@@ -1233,6 +1241,8 @@ class KeyType(_enum.Enum):
|
|
1233
1241
|
|
1234
1242
|
LaunchTemplateId = _ta.NewType('LaunchTemplateId', str)
|
1235
1243
|
|
1244
|
+
LocalGatewayId = _ta.NewType('LocalGatewayId', str)
|
1245
|
+
|
1236
1246
|
|
1237
1247
|
class MarketType(_enum.Enum):
|
1238
1248
|
SPOT = 'spot'
|
@@ -1273,6 +1283,8 @@ class MonitoringState(_enum.Enum):
|
|
1273
1283
|
PENDING = 'pending'
|
1274
1284
|
|
1275
1285
|
|
1286
|
+
NatGatewayId = _ta.NewType('NatGatewayId', str)
|
1287
|
+
|
1276
1288
|
NetworkCardIndex = _ta.NewType('NetworkCardIndex', int)
|
1277
1289
|
|
1278
1290
|
NetworkInterfaceId = _ta.NewType('NetworkInterfaceId', str)
|
@@ -1357,6 +1369,8 @@ class PlatformValues(_enum.Enum):
|
|
1357
1369
|
WINDOWS = 'Windows'
|
1358
1370
|
|
1359
1371
|
|
1372
|
+
PrefixListResourceId = _ta.NewType('PrefixListResourceId', str)
|
1373
|
+
|
1360
1374
|
ProcessorSustainedClockSpeed = _ta.NewType('ProcessorSustainedClockSpeed', float)
|
1361
1375
|
|
1362
1376
|
|
@@ -1465,6 +1479,30 @@ class RootDeviceType(_enum.Enum):
|
|
1465
1479
|
INSTANCE_STORE = 'instance-store'
|
1466
1480
|
|
1467
1481
|
|
1482
|
+
RouteGatewayId = _ta.NewType('RouteGatewayId', str)
|
1483
|
+
|
1484
|
+
|
1485
|
+
class RouteOrigin(_enum.Enum):
|
1486
|
+
CREATE_ROUTE_TABLE = 'CreateRouteTable'
|
1487
|
+
CREATE_ROUTE = 'CreateRoute'
|
1488
|
+
ENABLE_VGW_ROUTE_PROPAGATION = 'EnableVgwRoutePropagation'
|
1489
|
+
|
1490
|
+
|
1491
|
+
class RouteState(_enum.Enum):
|
1492
|
+
ACTIVE = 'active'
|
1493
|
+
BLACKHOLE = 'blackhole'
|
1494
|
+
|
1495
|
+
|
1496
|
+
class RouteTableAssociationStateCode(_enum.Enum):
|
1497
|
+
ASSOCIATING = 'associating'
|
1498
|
+
ASSOCIATED = 'associated'
|
1499
|
+
DISASSOCIATING = 'disassociating'
|
1500
|
+
DISASSOCIATED = 'disassociated'
|
1501
|
+
FAILED = 'failed'
|
1502
|
+
|
1503
|
+
|
1504
|
+
RouteTableId = _ta.NewType('RouteTableId', str)
|
1505
|
+
|
1468
1506
|
RunInstancesUserData = _ta.NewType('RunInstancesUserData', str)
|
1469
1507
|
|
1470
1508
|
SecurityGroupId = _ta.NewType('SecurityGroupId', str)
|
@@ -1527,6 +1565,9 @@ class TpmSupportValues(_enum.Enum):
|
|
1527
1565
|
V2_0 = 'v2.0'
|
1528
1566
|
|
1529
1567
|
|
1568
|
+
TransitGatewayId = _ta.NewType('TransitGatewayId', str)
|
1569
|
+
|
1570
|
+
|
1530
1571
|
class UsageClassType(_enum.Enum):
|
1531
1572
|
SPOT = 'spot'
|
1532
1573
|
ON_DEMAND = 'on-demand'
|
@@ -1560,8 +1601,12 @@ class VpcCidrBlockStateCode(_enum.Enum):
|
|
1560
1601
|
FAILED = 'failed'
|
1561
1602
|
|
1562
1603
|
|
1604
|
+
VpcEndpointId = _ta.NewType('VpcEndpointId', str)
|
1605
|
+
|
1563
1606
|
VpcId = _ta.NewType('VpcId', str)
|
1564
1607
|
|
1608
|
+
VpcPeeringConnectionId = _ta.NewType('VpcPeeringConnectionId', str)
|
1609
|
+
|
1565
1610
|
|
1566
1611
|
class VpcState(_enum.Enum):
|
1567
1612
|
PENDING = 'pending'
|
@@ -1851,6 +1896,138 @@ class CpuOptionsRequest(
|
|
1851
1896
|
))
|
1852
1897
|
|
1853
1898
|
|
1899
|
+
@_dc.dataclass(frozen=True)
|
1900
|
+
class CreateRouteRequest(
|
1901
|
+
_base.Shape,
|
1902
|
+
shape_name='CreateRouteRequest',
|
1903
|
+
):
|
1904
|
+
destination_prefix_list_id: PrefixListResourceId = _dc.field(metadata=_base.field_metadata(
|
1905
|
+
member_name='DestinationPrefixListId',
|
1906
|
+
shape_name='PrefixListResourceId',
|
1907
|
+
))
|
1908
|
+
|
1909
|
+
vpc_endpoint_id: VpcEndpointId = _dc.field(metadata=_base.field_metadata(
|
1910
|
+
member_name='VpcEndpointId',
|
1911
|
+
shape_name='VpcEndpointId',
|
1912
|
+
))
|
1913
|
+
|
1914
|
+
transit_gateway_id: TransitGatewayId = _dc.field(metadata=_base.field_metadata(
|
1915
|
+
member_name='TransitGatewayId',
|
1916
|
+
shape_name='TransitGatewayId',
|
1917
|
+
))
|
1918
|
+
|
1919
|
+
local_gateway_id: LocalGatewayId = _dc.field(metadata=_base.field_metadata(
|
1920
|
+
member_name='LocalGatewayId',
|
1921
|
+
shape_name='LocalGatewayId',
|
1922
|
+
))
|
1923
|
+
|
1924
|
+
carrier_gateway_id: CarrierGatewayId = _dc.field(metadata=_base.field_metadata(
|
1925
|
+
member_name='CarrierGatewayId',
|
1926
|
+
shape_name='CarrierGatewayId',
|
1927
|
+
))
|
1928
|
+
|
1929
|
+
core_network_arn: CoreNetworkArn = _dc.field(metadata=_base.field_metadata(
|
1930
|
+
member_name='CoreNetworkArn',
|
1931
|
+
shape_name='CoreNetworkArn',
|
1932
|
+
))
|
1933
|
+
|
1934
|
+
dry_run: bool = _dc.field(metadata=_base.field_metadata(
|
1935
|
+
member_name='DryRun',
|
1936
|
+
serialization_name='dryRun',
|
1937
|
+
shape_name='Boolean',
|
1938
|
+
))
|
1939
|
+
|
1940
|
+
route_table_id: RouteTableId = _dc.field(metadata=_base.field_metadata(
|
1941
|
+
member_name='RouteTableId',
|
1942
|
+
serialization_name='routeTableId',
|
1943
|
+
shape_name='RouteTableId',
|
1944
|
+
))
|
1945
|
+
|
1946
|
+
destination_cidr_block: str = _dc.field(metadata=_base.field_metadata(
|
1947
|
+
member_name='DestinationCidrBlock',
|
1948
|
+
serialization_name='destinationCidrBlock',
|
1949
|
+
shape_name='String',
|
1950
|
+
))
|
1951
|
+
|
1952
|
+
gateway_id: RouteGatewayId = _dc.field(metadata=_base.field_metadata(
|
1953
|
+
member_name='GatewayId',
|
1954
|
+
serialization_name='gatewayId',
|
1955
|
+
shape_name='RouteGatewayId',
|
1956
|
+
))
|
1957
|
+
|
1958
|
+
destination_ipv6_cidr_block: str = _dc.field(metadata=_base.field_metadata(
|
1959
|
+
member_name='DestinationIpv6CidrBlock',
|
1960
|
+
serialization_name='destinationIpv6CidrBlock',
|
1961
|
+
shape_name='String',
|
1962
|
+
))
|
1963
|
+
|
1964
|
+
egress_only_internet_gateway_id: EgressOnlyInternetGatewayId = _dc.field(metadata=_base.field_metadata(
|
1965
|
+
member_name='EgressOnlyInternetGatewayId',
|
1966
|
+
serialization_name='egressOnlyInternetGatewayId',
|
1967
|
+
shape_name='EgressOnlyInternetGatewayId',
|
1968
|
+
))
|
1969
|
+
|
1970
|
+
instance_id: InstanceId = _dc.field(metadata=_base.field_metadata(
|
1971
|
+
member_name='InstanceId',
|
1972
|
+
serialization_name='instanceId',
|
1973
|
+
shape_name='InstanceId',
|
1974
|
+
))
|
1975
|
+
|
1976
|
+
network_interface_id: NetworkInterfaceId = _dc.field(metadata=_base.field_metadata(
|
1977
|
+
member_name='NetworkInterfaceId',
|
1978
|
+
serialization_name='networkInterfaceId',
|
1979
|
+
shape_name='NetworkInterfaceId',
|
1980
|
+
))
|
1981
|
+
|
1982
|
+
vpc_peering_connection_id: VpcPeeringConnectionId = _dc.field(metadata=_base.field_metadata(
|
1983
|
+
member_name='VpcPeeringConnectionId',
|
1984
|
+
serialization_name='vpcPeeringConnectionId',
|
1985
|
+
shape_name='VpcPeeringConnectionId',
|
1986
|
+
))
|
1987
|
+
|
1988
|
+
nat_gateway_id: NatGatewayId = _dc.field(metadata=_base.field_metadata(
|
1989
|
+
member_name='NatGatewayId',
|
1990
|
+
serialization_name='natGatewayId',
|
1991
|
+
shape_name='NatGatewayId',
|
1992
|
+
))
|
1993
|
+
|
1994
|
+
|
1995
|
+
@_dc.dataclass(frozen=True)
|
1996
|
+
class CreateRouteResult(
|
1997
|
+
_base.Shape,
|
1998
|
+
shape_name='CreateRouteResult',
|
1999
|
+
):
|
2000
|
+
return_: bool = _dc.field(metadata=_base.field_metadata(
|
2001
|
+
member_name='Return',
|
2002
|
+
serialization_name='return',
|
2003
|
+
shape_name='Boolean',
|
2004
|
+
))
|
2005
|
+
|
2006
|
+
|
2007
|
+
@_dc.dataclass(frozen=True)
|
2008
|
+
class CreateSecurityGroupResult(
|
2009
|
+
_base.Shape,
|
2010
|
+
shape_name='CreateSecurityGroupResult',
|
2011
|
+
):
|
2012
|
+
group_id: str = _dc.field(metadata=_base.field_metadata(
|
2013
|
+
member_name='GroupId',
|
2014
|
+
serialization_name='groupId',
|
2015
|
+
shape_name='String',
|
2016
|
+
))
|
2017
|
+
|
2018
|
+
tags: _base.TagList = _dc.field(metadata=_base.field_metadata(
|
2019
|
+
member_name='Tags',
|
2020
|
+
serialization_name='tagSet',
|
2021
|
+
shape_name='TagList',
|
2022
|
+
))
|
2023
|
+
|
2024
|
+
security_group_arn: str = _dc.field(metadata=_base.field_metadata(
|
2025
|
+
member_name='SecurityGroupArn',
|
2026
|
+
serialization_name='securityGroupArn',
|
2027
|
+
shape_name='String',
|
2028
|
+
))
|
2029
|
+
|
2030
|
+
|
1854
2031
|
@_dc.dataclass(frozen=True)
|
1855
2032
|
class CreditSpecificationRequest(
|
1856
2033
|
_base.Shape,
|
@@ -1862,6 +2039,99 @@ class CreditSpecificationRequest(
|
|
1862
2039
|
))
|
1863
2040
|
|
1864
2041
|
|
2042
|
+
@_dc.dataclass(frozen=True)
|
2043
|
+
class DeleteRouteRequest(
|
2044
|
+
_base.Shape,
|
2045
|
+
shape_name='DeleteRouteRequest',
|
2046
|
+
):
|
2047
|
+
destination_prefix_list_id: PrefixListResourceId = _dc.field(metadata=_base.field_metadata(
|
2048
|
+
member_name='DestinationPrefixListId',
|
2049
|
+
shape_name='PrefixListResourceId',
|
2050
|
+
))
|
2051
|
+
|
2052
|
+
dry_run: bool = _dc.field(metadata=_base.field_metadata(
|
2053
|
+
member_name='DryRun',
|
2054
|
+
serialization_name='dryRun',
|
2055
|
+
shape_name='Boolean',
|
2056
|
+
))
|
2057
|
+
|
2058
|
+
route_table_id: RouteTableId = _dc.field(metadata=_base.field_metadata(
|
2059
|
+
member_name='RouteTableId',
|
2060
|
+
serialization_name='routeTableId',
|
2061
|
+
shape_name='RouteTableId',
|
2062
|
+
))
|
2063
|
+
|
2064
|
+
destination_cidr_block: str = _dc.field(metadata=_base.field_metadata(
|
2065
|
+
member_name='DestinationCidrBlock',
|
2066
|
+
serialization_name='destinationCidrBlock',
|
2067
|
+
shape_name='String',
|
2068
|
+
))
|
2069
|
+
|
2070
|
+
destination_ipv6_cidr_block: str = _dc.field(metadata=_base.field_metadata(
|
2071
|
+
member_name='DestinationIpv6CidrBlock',
|
2072
|
+
serialization_name='destinationIpv6CidrBlock',
|
2073
|
+
shape_name='String',
|
2074
|
+
))
|
2075
|
+
|
2076
|
+
|
2077
|
+
@_dc.dataclass(frozen=True)
|
2078
|
+
class DeleteRouteTableRequest(
|
2079
|
+
_base.Shape,
|
2080
|
+
shape_name='DeleteRouteTableRequest',
|
2081
|
+
):
|
2082
|
+
dry_run: bool = _dc.field(metadata=_base.field_metadata(
|
2083
|
+
member_name='DryRun',
|
2084
|
+
serialization_name='dryRun',
|
2085
|
+
shape_name='Boolean',
|
2086
|
+
))
|
2087
|
+
|
2088
|
+
route_table_id: RouteTableId = _dc.field(metadata=_base.field_metadata(
|
2089
|
+
member_name='RouteTableId',
|
2090
|
+
serialization_name='routeTableId',
|
2091
|
+
shape_name='RouteTableId',
|
2092
|
+
))
|
2093
|
+
|
2094
|
+
|
2095
|
+
@_dc.dataclass(frozen=True)
|
2096
|
+
class DeleteSecurityGroupRequest(
|
2097
|
+
_base.Shape,
|
2098
|
+
shape_name='DeleteSecurityGroupRequest',
|
2099
|
+
):
|
2100
|
+
group_id: SecurityGroupId = _dc.field(metadata=_base.field_metadata(
|
2101
|
+
member_name='GroupId',
|
2102
|
+
shape_name='SecurityGroupId',
|
2103
|
+
))
|
2104
|
+
|
2105
|
+
group_name: SecurityGroupName = _dc.field(metadata=_base.field_metadata(
|
2106
|
+
member_name='GroupName',
|
2107
|
+
shape_name='SecurityGroupName',
|
2108
|
+
))
|
2109
|
+
|
2110
|
+
dry_run: bool = _dc.field(metadata=_base.field_metadata(
|
2111
|
+
member_name='DryRun',
|
2112
|
+
serialization_name='dryRun',
|
2113
|
+
shape_name='Boolean',
|
2114
|
+
))
|
2115
|
+
|
2116
|
+
|
2117
|
+
@_dc.dataclass(frozen=True)
|
2118
|
+
class DeleteSecurityGroupResult(
|
2119
|
+
_base.Shape,
|
2120
|
+
shape_name='DeleteSecurityGroupResult',
|
2121
|
+
):
|
2122
|
+
return_: bool = _dc.field(metadata=_base.field_metadata(
|
2123
|
+
member_name='Return',
|
2124
|
+
serialization_name='return',
|
2125
|
+
shape_name='Boolean',
|
2126
|
+
))
|
2127
|
+
|
2128
|
+
group_id: SecurityGroupId = _dc.field(metadata=_base.field_metadata(
|
2129
|
+
member_name='GroupId',
|
2130
|
+
serialization_name='groupId',
|
2131
|
+
shape_name='SecurityGroupId',
|
2132
|
+
))
|
2133
|
+
|
2134
|
+
|
1865
2135
|
@_dc.dataclass(frozen=True)
|
1866
2136
|
class DiskInfo(
|
1867
2137
|
_base.Shape,
|
@@ -3068,6 +3338,18 @@ class ProductCode(
|
|
3068
3338
|
))
|
3069
3339
|
|
3070
3340
|
|
3341
|
+
@_dc.dataclass(frozen=True)
|
3342
|
+
class PropagatingVgw(
|
3343
|
+
_base.Shape,
|
3344
|
+
shape_name='PropagatingVgw',
|
3345
|
+
):
|
3346
|
+
gateway_id: str = _dc.field(metadata=_base.field_metadata(
|
3347
|
+
member_name='GatewayId',
|
3348
|
+
serialization_name='gatewayId',
|
3349
|
+
shape_name='String',
|
3350
|
+
))
|
3351
|
+
|
3352
|
+
|
3071
3353
|
PublicIpStringList: _ta.TypeAlias = _ta.Sequence[str]
|
3072
3354
|
|
3073
3355
|
RequestInstanceTypeList: _ta.TypeAlias = _ta.Sequence[InstanceType]
|
@@ -3075,6 +3357,129 @@ RequestInstanceTypeList: _ta.TypeAlias = _ta.Sequence[InstanceType]
|
|
3075
3357
|
RootDeviceTypeList: _ta.TypeAlias = _ta.Sequence[RootDeviceType]
|
3076
3358
|
|
3077
3359
|
|
3360
|
+
@_dc.dataclass(frozen=True)
|
3361
|
+
class Route(
|
3362
|
+
_base.Shape,
|
3363
|
+
shape_name='Route',
|
3364
|
+
):
|
3365
|
+
destination_cidr_block: str = _dc.field(metadata=_base.field_metadata(
|
3366
|
+
member_name='DestinationCidrBlock',
|
3367
|
+
serialization_name='destinationCidrBlock',
|
3368
|
+
shape_name='String',
|
3369
|
+
))
|
3370
|
+
|
3371
|
+
destination_ipv6_cidr_block: str = _dc.field(metadata=_base.field_metadata(
|
3372
|
+
member_name='DestinationIpv6CidrBlock',
|
3373
|
+
serialization_name='destinationIpv6CidrBlock',
|
3374
|
+
shape_name='String',
|
3375
|
+
))
|
3376
|
+
|
3377
|
+
destination_prefix_list_id: str = _dc.field(metadata=_base.field_metadata(
|
3378
|
+
member_name='DestinationPrefixListId',
|
3379
|
+
serialization_name='destinationPrefixListId',
|
3380
|
+
shape_name='String',
|
3381
|
+
))
|
3382
|
+
|
3383
|
+
egress_only_internet_gateway_id: str = _dc.field(metadata=_base.field_metadata(
|
3384
|
+
member_name='EgressOnlyInternetGatewayId',
|
3385
|
+
serialization_name='egressOnlyInternetGatewayId',
|
3386
|
+
shape_name='String',
|
3387
|
+
))
|
3388
|
+
|
3389
|
+
gateway_id: str = _dc.field(metadata=_base.field_metadata(
|
3390
|
+
member_name='GatewayId',
|
3391
|
+
serialization_name='gatewayId',
|
3392
|
+
shape_name='String',
|
3393
|
+
))
|
3394
|
+
|
3395
|
+
instance_id: str = _dc.field(metadata=_base.field_metadata(
|
3396
|
+
member_name='InstanceId',
|
3397
|
+
serialization_name='instanceId',
|
3398
|
+
shape_name='String',
|
3399
|
+
))
|
3400
|
+
|
3401
|
+
instance_owner_id: str = _dc.field(metadata=_base.field_metadata(
|
3402
|
+
member_name='InstanceOwnerId',
|
3403
|
+
serialization_name='instanceOwnerId',
|
3404
|
+
shape_name='String',
|
3405
|
+
))
|
3406
|
+
|
3407
|
+
nat_gateway_id: str = _dc.field(metadata=_base.field_metadata(
|
3408
|
+
member_name='NatGatewayId',
|
3409
|
+
serialization_name='natGatewayId',
|
3410
|
+
shape_name='String',
|
3411
|
+
))
|
3412
|
+
|
3413
|
+
transit_gateway_id: str = _dc.field(metadata=_base.field_metadata(
|
3414
|
+
member_name='TransitGatewayId',
|
3415
|
+
serialization_name='transitGatewayId',
|
3416
|
+
shape_name='String',
|
3417
|
+
))
|
3418
|
+
|
3419
|
+
local_gateway_id: str = _dc.field(metadata=_base.field_metadata(
|
3420
|
+
member_name='LocalGatewayId',
|
3421
|
+
serialization_name='localGatewayId',
|
3422
|
+
shape_name='String',
|
3423
|
+
))
|
3424
|
+
|
3425
|
+
carrier_gateway_id: CarrierGatewayId = _dc.field(metadata=_base.field_metadata(
|
3426
|
+
member_name='CarrierGatewayId',
|
3427
|
+
serialization_name='carrierGatewayId',
|
3428
|
+
shape_name='CarrierGatewayId',
|
3429
|
+
))
|
3430
|
+
|
3431
|
+
network_interface_id: str = _dc.field(metadata=_base.field_metadata(
|
3432
|
+
member_name='NetworkInterfaceId',
|
3433
|
+
serialization_name='networkInterfaceId',
|
3434
|
+
shape_name='String',
|
3435
|
+
))
|
3436
|
+
|
3437
|
+
origin: RouteOrigin = _dc.field(metadata=_base.field_metadata(
|
3438
|
+
member_name='Origin',
|
3439
|
+
serialization_name='origin',
|
3440
|
+
shape_name='RouteOrigin',
|
3441
|
+
))
|
3442
|
+
|
3443
|
+
state: RouteState = _dc.field(metadata=_base.field_metadata(
|
3444
|
+
member_name='State',
|
3445
|
+
serialization_name='state',
|
3446
|
+
shape_name='RouteState',
|
3447
|
+
))
|
3448
|
+
|
3449
|
+
vpc_peering_connection_id: str = _dc.field(metadata=_base.field_metadata(
|
3450
|
+
member_name='VpcPeeringConnectionId',
|
3451
|
+
serialization_name='vpcPeeringConnectionId',
|
3452
|
+
shape_name='String',
|
3453
|
+
))
|
3454
|
+
|
3455
|
+
core_network_arn: CoreNetworkArn = _dc.field(metadata=_base.field_metadata(
|
3456
|
+
member_name='CoreNetworkArn',
|
3457
|
+
serialization_name='coreNetworkArn',
|
3458
|
+
shape_name='CoreNetworkArn',
|
3459
|
+
))
|
3460
|
+
|
3461
|
+
|
3462
|
+
@_dc.dataclass(frozen=True)
|
3463
|
+
class RouteTableAssociationState(
|
3464
|
+
_base.Shape,
|
3465
|
+
shape_name='RouteTableAssociationState',
|
3466
|
+
):
|
3467
|
+
state: RouteTableAssociationStateCode = _dc.field(metadata=_base.field_metadata(
|
3468
|
+
member_name='State',
|
3469
|
+
serialization_name='state',
|
3470
|
+
shape_name='RouteTableAssociationStateCode',
|
3471
|
+
))
|
3472
|
+
|
3473
|
+
status_message: str = _dc.field(metadata=_base.field_metadata(
|
3474
|
+
member_name='StatusMessage',
|
3475
|
+
serialization_name='statusMessage',
|
3476
|
+
shape_name='String',
|
3477
|
+
))
|
3478
|
+
|
3479
|
+
|
3480
|
+
RouteTableIdStringList: _ta.TypeAlias = _ta.Sequence[RouteTableId]
|
3481
|
+
|
3482
|
+
|
3078
3483
|
@_dc.dataclass(frozen=True)
|
3079
3484
|
class RunInstancesMonitoringEnabled(
|
3080
3485
|
_base.Shape,
|
@@ -3833,6 +4238,8 @@ class ProcessorInfo(
|
|
3833
4238
|
|
3834
4239
|
ProductCodeList: _ta.TypeAlias = _ta.Sequence[ProductCode]
|
3835
4240
|
|
4241
|
+
PropagatingVgwList: _ta.TypeAlias = _ta.Sequence[PropagatingVgw]
|
4242
|
+
|
3836
4243
|
|
3837
4244
|
@_dc.dataclass(frozen=True)
|
3838
4245
|
class RebootInstancesRequest(
|
@@ -3852,6 +4259,51 @@ class RebootInstancesRequest(
|
|
3852
4259
|
))
|
3853
4260
|
|
3854
4261
|
|
4262
|
+
RouteList: _ta.TypeAlias = _ta.Sequence[Route]
|
4263
|
+
|
4264
|
+
|
4265
|
+
@_dc.dataclass(frozen=True)
|
4266
|
+
class RouteTableAssociation(
|
4267
|
+
_base.Shape,
|
4268
|
+
shape_name='RouteTableAssociation',
|
4269
|
+
):
|
4270
|
+
main: bool = _dc.field(metadata=_base.field_metadata(
|
4271
|
+
member_name='Main',
|
4272
|
+
serialization_name='main',
|
4273
|
+
shape_name='Boolean',
|
4274
|
+
))
|
4275
|
+
|
4276
|
+
route_table_association_id: str = _dc.field(metadata=_base.field_metadata(
|
4277
|
+
member_name='RouteTableAssociationId',
|
4278
|
+
serialization_name='routeTableAssociationId',
|
4279
|
+
shape_name='String',
|
4280
|
+
))
|
4281
|
+
|
4282
|
+
route_table_id: str = _dc.field(metadata=_base.field_metadata(
|
4283
|
+
member_name='RouteTableId',
|
4284
|
+
serialization_name='routeTableId',
|
4285
|
+
shape_name='String',
|
4286
|
+
))
|
4287
|
+
|
4288
|
+
subnet_id: str = _dc.field(metadata=_base.field_metadata(
|
4289
|
+
member_name='SubnetId',
|
4290
|
+
serialization_name='subnetId',
|
4291
|
+
shape_name='String',
|
4292
|
+
))
|
4293
|
+
|
4294
|
+
gateway_id: str = _dc.field(metadata=_base.field_metadata(
|
4295
|
+
member_name='GatewayId',
|
4296
|
+
serialization_name='gatewayId',
|
4297
|
+
shape_name='String',
|
4298
|
+
))
|
4299
|
+
|
4300
|
+
association_state: RouteTableAssociationState = _dc.field(metadata=_base.field_metadata(
|
4301
|
+
member_name='AssociationState',
|
4302
|
+
serialization_name='associationState',
|
4303
|
+
shape_name='RouteTableAssociationState',
|
4304
|
+
))
|
4305
|
+
|
4306
|
+
|
3855
4307
|
@_dc.dataclass(frozen=True)
|
3856
4308
|
class StartInstancesRequest(
|
3857
4309
|
_base.Shape,
|
@@ -4078,6 +4530,69 @@ BlockDeviceMappingList: _ta.TypeAlias = _ta.Sequence[BlockDeviceMapping]
|
|
4078
4530
|
BlockDeviceMappingRequestList: _ta.TypeAlias = _ta.Sequence[BlockDeviceMapping]
|
4079
4531
|
|
4080
4532
|
|
4533
|
+
@_dc.dataclass(frozen=True)
|
4534
|
+
class CreateRouteTableRequest(
|
4535
|
+
_base.Shape,
|
4536
|
+
shape_name='CreateRouteTableRequest',
|
4537
|
+
):
|
4538
|
+
tag_specifications: TagSpecificationList = _dc.field(metadata=_base.field_metadata(
|
4539
|
+
member_name='TagSpecifications',
|
4540
|
+
serialization_name='TagSpecification',
|
4541
|
+
shape_name='TagSpecificationList',
|
4542
|
+
))
|
4543
|
+
|
4544
|
+
client_token: str = _dc.field(metadata=_base.field_metadata(
|
4545
|
+
member_name='ClientToken',
|
4546
|
+
shape_name='String',
|
4547
|
+
))
|
4548
|
+
|
4549
|
+
dry_run: bool = _dc.field(metadata=_base.field_metadata(
|
4550
|
+
member_name='DryRun',
|
4551
|
+
serialization_name='dryRun',
|
4552
|
+
shape_name='Boolean',
|
4553
|
+
))
|
4554
|
+
|
4555
|
+
vpc_id: VpcId = _dc.field(metadata=_base.field_metadata(
|
4556
|
+
member_name='VpcId',
|
4557
|
+
serialization_name='vpcId',
|
4558
|
+
shape_name='VpcId',
|
4559
|
+
))
|
4560
|
+
|
4561
|
+
|
4562
|
+
@_dc.dataclass(frozen=True)
|
4563
|
+
class CreateSecurityGroupRequest(
|
4564
|
+
_base.Shape,
|
4565
|
+
shape_name='CreateSecurityGroupRequest',
|
4566
|
+
):
|
4567
|
+
description: str = _dc.field(metadata=_base.field_metadata(
|
4568
|
+
member_name='Description',
|
4569
|
+
serialization_name='GroupDescription',
|
4570
|
+
shape_name='String',
|
4571
|
+
))
|
4572
|
+
|
4573
|
+
group_name: str = _dc.field(metadata=_base.field_metadata(
|
4574
|
+
member_name='GroupName',
|
4575
|
+
shape_name='String',
|
4576
|
+
))
|
4577
|
+
|
4578
|
+
vpc_id: VpcId = _dc.field(metadata=_base.field_metadata(
|
4579
|
+
member_name='VpcId',
|
4580
|
+
shape_name='VpcId',
|
4581
|
+
))
|
4582
|
+
|
4583
|
+
tag_specifications: TagSpecificationList = _dc.field(metadata=_base.field_metadata(
|
4584
|
+
member_name='TagSpecifications',
|
4585
|
+
serialization_name='TagSpecification',
|
4586
|
+
shape_name='TagSpecificationList',
|
4587
|
+
))
|
4588
|
+
|
4589
|
+
dry_run: bool = _dc.field(metadata=_base.field_metadata(
|
4590
|
+
member_name='DryRun',
|
4591
|
+
serialization_name='dryRun',
|
4592
|
+
shape_name='Boolean',
|
4593
|
+
))
|
4594
|
+
|
4595
|
+
|
4081
4596
|
@_dc.dataclass(frozen=True)
|
4082
4597
|
class DescribeAddressesResult(
|
4083
4598
|
_base.Shape,
|
@@ -4577,6 +5092,8 @@ NetworkInterfacePrivateIpAddressList: _ta.TypeAlias = _ta.Sequence[NetworkInterf
|
|
4577
5092
|
|
4578
5093
|
NeuronDeviceInfoList: _ta.TypeAlias = _ta.Sequence[NeuronDeviceInfo]
|
4579
5094
|
|
5095
|
+
RouteTableAssociationList: _ta.TypeAlias = _ta.Sequence[RouteTableAssociation]
|
5096
|
+
|
4580
5097
|
SubnetIpv6CidrBlockAssociationSet: _ta.TypeAlias = _ta.Sequence[SubnetIpv6CidrBlockAssociation]
|
4581
5098
|
|
4582
5099
|
VpcCidrBlockAssociationSet: _ta.TypeAlias = _ta.Sequence[VpcCidrBlockAssociation]
|
@@ -4842,6 +5359,40 @@ class DescribeNetworkInterfacesRequest(
|
|
4842
5359
|
))
|
4843
5360
|
|
4844
5361
|
|
5362
|
+
@_dc.dataclass(frozen=True)
|
5363
|
+
class DescribeRouteTablesRequest(
|
5364
|
+
_base.Shape,
|
5365
|
+
shape_name='DescribeRouteTablesRequest',
|
5366
|
+
):
|
5367
|
+
next_token: str = _dc.field(metadata=_base.field_metadata(
|
5368
|
+
member_name='NextToken',
|
5369
|
+
shape_name='String',
|
5370
|
+
))
|
5371
|
+
|
5372
|
+
max_results: DescribeRouteTablesMaxResults = _dc.field(metadata=_base.field_metadata(
|
5373
|
+
member_name='MaxResults',
|
5374
|
+
shape_name='DescribeRouteTablesMaxResults',
|
5375
|
+
))
|
5376
|
+
|
5377
|
+
dry_run: bool = _dc.field(metadata=_base.field_metadata(
|
5378
|
+
member_name='DryRun',
|
5379
|
+
serialization_name='dryRun',
|
5380
|
+
shape_name='Boolean',
|
5381
|
+
))
|
5382
|
+
|
5383
|
+
route_table_ids: RouteTableIdStringList = _dc.field(metadata=_base.field_metadata(
|
5384
|
+
member_name='RouteTableIds',
|
5385
|
+
serialization_name='RouteTableId',
|
5386
|
+
shape_name='RouteTableIdStringList',
|
5387
|
+
))
|
5388
|
+
|
5389
|
+
filters: FilterList = _dc.field(metadata=_base.field_metadata(
|
5390
|
+
member_name='Filters',
|
5391
|
+
serialization_name='Filter',
|
5392
|
+
shape_name='FilterList',
|
5393
|
+
))
|
5394
|
+
|
5395
|
+
|
4845
5396
|
@_dc.dataclass(frozen=True)
|
4846
5397
|
class DescribeSecurityGroupsRequest(
|
4847
5398
|
_base.Shape,
|
@@ -5572,6 +6123,54 @@ class NeuronInfo(
|
|
5572
6123
|
))
|
5573
6124
|
|
5574
6125
|
|
6126
|
+
@_dc.dataclass(frozen=True)
|
6127
|
+
class RouteTable(
|
6128
|
+
_base.Shape,
|
6129
|
+
shape_name='RouteTable',
|
6130
|
+
):
|
6131
|
+
associations: RouteTableAssociationList = _dc.field(metadata=_base.field_metadata(
|
6132
|
+
member_name='Associations',
|
6133
|
+
serialization_name='associationSet',
|
6134
|
+
shape_name='RouteTableAssociationList',
|
6135
|
+
))
|
6136
|
+
|
6137
|
+
propagating_vgws: PropagatingVgwList = _dc.field(metadata=_base.field_metadata(
|
6138
|
+
member_name='PropagatingVgws',
|
6139
|
+
serialization_name='propagatingVgwSet',
|
6140
|
+
shape_name='PropagatingVgwList',
|
6141
|
+
))
|
6142
|
+
|
6143
|
+
route_table_id: str = _dc.field(metadata=_base.field_metadata(
|
6144
|
+
member_name='RouteTableId',
|
6145
|
+
serialization_name='routeTableId',
|
6146
|
+
shape_name='String',
|
6147
|
+
))
|
6148
|
+
|
6149
|
+
routes: RouteList = _dc.field(metadata=_base.field_metadata(
|
6150
|
+
member_name='Routes',
|
6151
|
+
serialization_name='routeSet',
|
6152
|
+
shape_name='RouteList',
|
6153
|
+
))
|
6154
|
+
|
6155
|
+
tags: _base.TagList = _dc.field(metadata=_base.field_metadata(
|
6156
|
+
member_name='Tags',
|
6157
|
+
serialization_name='tagSet',
|
6158
|
+
shape_name='TagList',
|
6159
|
+
))
|
6160
|
+
|
6161
|
+
vpc_id: str = _dc.field(metadata=_base.field_metadata(
|
6162
|
+
member_name='VpcId',
|
6163
|
+
serialization_name='vpcId',
|
6164
|
+
shape_name='String',
|
6165
|
+
))
|
6166
|
+
|
6167
|
+
owner_id: str = _dc.field(metadata=_base.field_metadata(
|
6168
|
+
member_name='OwnerId',
|
6169
|
+
serialization_name='ownerId',
|
6170
|
+
shape_name='String',
|
6171
|
+
))
|
6172
|
+
|
6173
|
+
|
5575
6174
|
@_dc.dataclass(frozen=True)
|
5576
6175
|
class StartInstancesResult(
|
5577
6176
|
_base.Shape,
|
@@ -5818,6 +6417,24 @@ class Vpc(
|
|
5818
6417
|
))
|
5819
6418
|
|
5820
6419
|
|
6420
|
+
@_dc.dataclass(frozen=True)
|
6421
|
+
class CreateRouteTableResult(
|
6422
|
+
_base.Shape,
|
6423
|
+
shape_name='CreateRouteTableResult',
|
6424
|
+
):
|
6425
|
+
route_table: RouteTable = _dc.field(metadata=_base.field_metadata(
|
6426
|
+
member_name='RouteTable',
|
6427
|
+
serialization_name='routeTable',
|
6428
|
+
shape_name='RouteTable',
|
6429
|
+
))
|
6430
|
+
|
6431
|
+
client_token: str = _dc.field(metadata=_base.field_metadata(
|
6432
|
+
member_name='ClientToken',
|
6433
|
+
serialization_name='clientToken',
|
6434
|
+
shape_name='String',
|
6435
|
+
))
|
6436
|
+
|
6437
|
+
|
5821
6438
|
@_dc.dataclass(frozen=True)
|
5822
6439
|
class DescribeInternetGatewaysResult(
|
5823
6440
|
_base.Shape,
|
@@ -6029,6 +6646,8 @@ class InstanceTypeInfo(
|
|
6029
6646
|
|
6030
6647
|
NetworkInterfaceList: _ta.TypeAlias = _ta.Sequence[NetworkInterface]
|
6031
6648
|
|
6649
|
+
RouteTableList: _ta.TypeAlias = _ta.Sequence[RouteTable]
|
6650
|
+
|
6032
6651
|
|
6033
6652
|
@_dc.dataclass(frozen=True)
|
6034
6653
|
class RunInstancesRequest(
|
@@ -6368,6 +6987,24 @@ class DescribeNetworkInterfacesResult(
|
|
6368
6987
|
))
|
6369
6988
|
|
6370
6989
|
|
6990
|
+
@_dc.dataclass(frozen=True)
|
6991
|
+
class DescribeRouteTablesResult(
|
6992
|
+
_base.Shape,
|
6993
|
+
shape_name='DescribeRouteTablesResult',
|
6994
|
+
):
|
6995
|
+
route_tables: RouteTableList = _dc.field(metadata=_base.field_metadata(
|
6996
|
+
member_name='RouteTables',
|
6997
|
+
serialization_name='routeTableSet',
|
6998
|
+
shape_name='RouteTableList',
|
6999
|
+
))
|
7000
|
+
|
7001
|
+
next_token: str = _dc.field(metadata=_base.field_metadata(
|
7002
|
+
member_name='NextToken',
|
7003
|
+
serialization_name='nextToken',
|
7004
|
+
shape_name='String',
|
7005
|
+
))
|
7006
|
+
|
7007
|
+
|
6371
7008
|
@_dc.dataclass(frozen=True)
|
6372
7009
|
class DescribeSubnetsResult(
|
6373
7010
|
_base.Shape,
|
@@ -6880,7 +7517,17 @@ ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
|
|
6880
7517
|
ConnectionTrackingSpecificationResponse,
|
6881
7518
|
CpuOptions,
|
6882
7519
|
CpuOptionsRequest,
|
7520
|
+
CreateRouteRequest,
|
7521
|
+
CreateRouteResult,
|
7522
|
+
CreateRouteTableRequest,
|
7523
|
+
CreateRouteTableResult,
|
7524
|
+
CreateSecurityGroupRequest,
|
7525
|
+
CreateSecurityGroupResult,
|
6883
7526
|
CreditSpecificationRequest,
|
7527
|
+
DeleteRouteRequest,
|
7528
|
+
DeleteRouteTableRequest,
|
7529
|
+
DeleteSecurityGroupRequest,
|
7530
|
+
DeleteSecurityGroupResult,
|
6884
7531
|
DescribeAddressesRequest,
|
6885
7532
|
DescribeAddressesResult,
|
6886
7533
|
DescribeImagesRequest,
|
@@ -6895,6 +7542,8 @@ ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
|
|
6895
7542
|
DescribeKeyPairsResult,
|
6896
7543
|
DescribeNetworkInterfacesRequest,
|
6897
7544
|
DescribeNetworkInterfacesResult,
|
7545
|
+
DescribeRouteTablesRequest,
|
7546
|
+
DescribeRouteTablesResult,
|
6898
7547
|
DescribeSecurityGroupsRequest,
|
6899
7548
|
DescribeSecurityGroupsResult,
|
6900
7549
|
DescribeSubnetsRequest,
|
@@ -6995,8 +7644,13 @@ ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
|
|
6995
7644
|
PrivateIpAddressSpecification,
|
6996
7645
|
ProcessorInfo,
|
6997
7646
|
ProductCode,
|
7647
|
+
PropagatingVgw,
|
6998
7648
|
RebootInstancesRequest,
|
6999
7649
|
Reservation,
|
7650
|
+
Route,
|
7651
|
+
RouteTable,
|
7652
|
+
RouteTableAssociation,
|
7653
|
+
RouteTableAssociationState,
|
7000
7654
|
RunInstancesMonitoringEnabled,
|
7001
7655
|
RunInstancesRequest,
|
7002
7656
|
SecurityGroup,
|
@@ -7024,6 +7678,40 @@ ALL_SHAPES: frozenset[type[_base.Shape]] = frozenset([
|
|
7024
7678
|
##
|
7025
7679
|
|
7026
7680
|
|
7681
|
+
CREATE_ROUTE = _base.Operation(
|
7682
|
+
name='CreateRoute',
|
7683
|
+
input=CreateRouteRequest,
|
7684
|
+
output=CreateRouteResult,
|
7685
|
+
)
|
7686
|
+
|
7687
|
+
CREATE_ROUTE_TABLE = _base.Operation(
|
7688
|
+
name='CreateRouteTable',
|
7689
|
+
input=CreateRouteTableRequest,
|
7690
|
+
output=CreateRouteTableResult,
|
7691
|
+
)
|
7692
|
+
|
7693
|
+
CREATE_SECURITY_GROUP = _base.Operation(
|
7694
|
+
name='CreateSecurityGroup',
|
7695
|
+
input=CreateSecurityGroupRequest,
|
7696
|
+
output=CreateSecurityGroupResult,
|
7697
|
+
)
|
7698
|
+
|
7699
|
+
DELETE_ROUTE = _base.Operation(
|
7700
|
+
name='DeleteRoute',
|
7701
|
+
input=DeleteRouteRequest,
|
7702
|
+
)
|
7703
|
+
|
7704
|
+
DELETE_ROUTE_TABLE = _base.Operation(
|
7705
|
+
name='DeleteRouteTable',
|
7706
|
+
input=DeleteRouteTableRequest,
|
7707
|
+
)
|
7708
|
+
|
7709
|
+
DELETE_SECURITY_GROUP = _base.Operation(
|
7710
|
+
name='DeleteSecurityGroup',
|
7711
|
+
input=DeleteSecurityGroupRequest,
|
7712
|
+
output=DeleteSecurityGroupResult,
|
7713
|
+
)
|
7714
|
+
|
7027
7715
|
DESCRIBE_ADDRESSES = _base.Operation(
|
7028
7716
|
name='DescribeAddresses',
|
7029
7717
|
input=DescribeAddressesRequest,
|
@@ -7066,6 +7754,12 @@ DESCRIBE_NETWORK_INTERFACES = _base.Operation(
|
|
7066
7754
|
output=DescribeNetworkInterfacesResult,
|
7067
7755
|
)
|
7068
7756
|
|
7757
|
+
DESCRIBE_ROUTE_TABLES = _base.Operation(
|
7758
|
+
name='DescribeRouteTables',
|
7759
|
+
input=DescribeRouteTablesRequest,
|
7760
|
+
output=DescribeRouteTablesResult,
|
7761
|
+
)
|
7762
|
+
|
7069
7763
|
DESCRIBE_SECURITY_GROUPS = _base.Operation(
|
7070
7764
|
name='DescribeSecurityGroups',
|
7071
7765
|
input=DescribeSecurityGroupsRequest,
|
@@ -7115,6 +7809,12 @@ TERMINATE_INSTANCES = _base.Operation(
|
|
7115
7809
|
|
7116
7810
|
|
7117
7811
|
ALL_OPERATIONS: frozenset[_base.Operation] = frozenset([
|
7812
|
+
CREATE_ROUTE,
|
7813
|
+
CREATE_ROUTE_TABLE,
|
7814
|
+
CREATE_SECURITY_GROUP,
|
7815
|
+
DELETE_ROUTE,
|
7816
|
+
DELETE_ROUTE_TABLE,
|
7817
|
+
DELETE_SECURITY_GROUP,
|
7118
7818
|
DESCRIBE_ADDRESSES,
|
7119
7819
|
DESCRIBE_IMAGES,
|
7120
7820
|
DESCRIBE_INSTANCES,
|
@@ -7122,6 +7822,7 @@ ALL_OPERATIONS: frozenset[_base.Operation] = frozenset([
|
|
7122
7822
|
DESCRIBE_INTERNET_GATEWAYS,
|
7123
7823
|
DESCRIBE_KEY_PAIRS,
|
7124
7824
|
DESCRIBE_NETWORK_INTERFACES,
|
7825
|
+
DESCRIBE_ROUTE_TABLES,
|
7125
7826
|
DESCRIBE_SECURITY_GROUPS,
|
7126
7827
|
DESCRIBE_SUBNETS,
|
7127
7828
|
DESCRIBE_VPCS,
|
@@ -1,5 +1,11 @@
|
|
1
1
|
[services.ec2]
|
2
2
|
operations = [
|
3
|
+
'CreateRoute',
|
4
|
+
'CreateRouteTable',
|
5
|
+
'CreateSecurityGroup',
|
6
|
+
'DeleteRoute',
|
7
|
+
'DeleteRouteTable',
|
8
|
+
'DeleteSecurityGroup',
|
3
9
|
'DescribeAddresses',
|
4
10
|
'DescribeImages',
|
5
11
|
'DescribeInstanceTypes',
|
@@ -7,6 +13,7 @@ operations = [
|
|
7
13
|
'DescribeInternetGateways',
|
8
14
|
'DescribeKeyPairs',
|
9
15
|
'DescribeNetworkInterfaces',
|
16
|
+
'DescribeRouteTables',
|
10
17
|
'DescribeSecurityGroups',
|
11
18
|
'DescribeSubnets',
|
12
19
|
'DescribeVpcs',
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: ominfra
|
3
|
-
Version: 0.0.0.
|
3
|
+
Version: 0.0.0.dev208
|
4
4
|
Summary: ominfra
|
5
5
|
Author: wrmsr
|
6
6
|
License: BSD-3-Clause
|
@@ -12,9 +12,9 @@ Classifier: Operating System :: OS Independent
|
|
12
12
|
Classifier: Operating System :: POSIX
|
13
13
|
Requires-Python: >=3.12
|
14
14
|
License-File: LICENSE
|
15
|
-
Requires-Dist: omdev==0.0.0.
|
16
|
-
Requires-Dist: omlish==0.0.0.
|
17
|
-
Requires-Dist: omserv==0.0.0.
|
15
|
+
Requires-Dist: omdev==0.0.0.dev208
|
16
|
+
Requires-Dist: omlish==0.0.0.dev208
|
17
|
+
Requires-Dist: omserv==0.0.0.dev208
|
18
18
|
Provides-Extra: all
|
19
19
|
Requires-Dist: paramiko~=3.5; extra == "all"
|
20
20
|
Requires-Dist: asyncssh~=2.18; extra == "all"
|
@@ -27,14 +27,14 @@ ominfra/clouds/aws/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
|
|
27
27
|
ominfra/clouds/aws/models/base.py,sha256=s2ffsIGOhRMhMY7awmordfrjWjvZGf5yeJJadt-tjEA,3287
|
28
28
|
ominfra/clouds/aws/models/gen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
29
29
|
ominfra/clouds/aws/models/gen/__main__.py,sha256=Jsrv3P7LX2Cg08W7ByZfZ1JQT4lgLDPW1qNAmShFuMk,75
|
30
|
-
ominfra/clouds/aws/models/gen/cli.py,sha256
|
31
|
-
ominfra/clouds/aws/models/gen/gen.py,sha256=
|
30
|
+
ominfra/clouds/aws/models/gen/cli.py,sha256=-tsjPPqUvXVqD40grn1Of-2-YF53dvCfISrIRI2AX4s,3869
|
31
|
+
ominfra/clouds/aws/models/gen/gen.py,sha256=Z0bKHNbmVqcMdrtUjCWR9Dp5qBtfzP9mgEqcA7uw0ao,14010
|
32
32
|
ominfra/clouds/aws/models/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
33
|
-
ominfra/clouds/aws/models/services/ec2.py,sha256=
|
33
|
+
ominfra/clouds/aws/models/services/ec2.py,sha256=wx1MlOyJSbYNwIWmmklex3JYbvY_teQZ_IfG-xwpztI,236248
|
34
34
|
ominfra/clouds/aws/models/services/lambda_.py,sha256=FHxUTZownw_yGfFijPUKM9Ff0_oRNJGNVeSxgIdaCa0,23262
|
35
35
|
ominfra/clouds/aws/models/services/rds.py,sha256=FNhaSR6rq3Xzlz16Aqp7e_HfejRrpxsnSJzH-tpUiuA,52509
|
36
36
|
ominfra/clouds/aws/models/services/s3.py,sha256=KRKEeRS6cNmOIJm_J3YW5MohhpvLtMhxtD_5di0nfc4,45186
|
37
|
-
ominfra/clouds/aws/models/services/services.toml,sha256=
|
37
|
+
ominfra/clouds/aws/models/services/services.toml,sha256=njiWEctmUUrfzZh-aboCNP9BpYBpxGFAVaGvgtv3pMo,866
|
38
38
|
ominfra/clouds/gcp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
39
39
|
ominfra/clouds/gcp/auth.py,sha256=rDIiOH5gP3OSIaMC5Lp8yAD4zWuLDEYlFu37mDx5YDA,1360
|
40
40
|
ominfra/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -155,9 +155,9 @@ ominfra/tailscale/api.py,sha256=C5-t_b6jZXUWcy5k8bXm7CFnk73pSdrlMOgGDeGVrpw,1370
|
|
155
155
|
ominfra/tailscale/cli.py,sha256=3FnJbgpLw6gInTfhERd1mDy9ijjMUGxkdYVo43Tnxx4,3555
|
156
156
|
ominfra/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
157
157
|
ominfra/tools/listresources.py,sha256=4qVg5txsb10EHhvqXXeM6gJ2jx9LbroEnPydDv1uXs0,6176
|
158
|
-
ominfra-0.0.0.
|
159
|
-
ominfra-0.0.0.
|
160
|
-
ominfra-0.0.0.
|
161
|
-
ominfra-0.0.0.
|
162
|
-
ominfra-0.0.0.
|
163
|
-
ominfra-0.0.0.
|
158
|
+
ominfra-0.0.0.dev208.dist-info/LICENSE,sha256=B_hVtavaA8zCYDW99DYdcpDLKz1n3BBRjZrcbv8uG8c,1451
|
159
|
+
ominfra-0.0.0.dev208.dist-info/METADATA,sha256=IflJBH_kEotpmWrQv_WumlZPvsFfMaTQpVFCXRV99zQ,767
|
160
|
+
ominfra-0.0.0.dev208.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
161
|
+
ominfra-0.0.0.dev208.dist-info/entry_points.txt,sha256=kgecQ2MgGrM9qK744BoKS3tMesaC3yjLnl9pa5CRczg,37
|
162
|
+
ominfra-0.0.0.dev208.dist-info/top_level.txt,sha256=E-b2OHkk_AOBLXHYZQ2EOFKl-_6uOGd8EjeG-Zy6h_w,8
|
163
|
+
ominfra-0.0.0.dev208.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|