gammarers.aws-resource-naming 0.7.1__py3-none-any.whl → 0.8.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of gammarers.aws-resource-naming might be problematic. Click here for more details.
- gammarers/aws_resource_naming/__init__.py +94 -3
- gammarers/aws_resource_naming/_jsii/__init__.py +2 -2
- gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.8.1.jsii.tgz +0 -0
- {gammarers.aws_resource_naming-0.7.1.dist-info → gammarers.aws_resource_naming-0.8.1.dist-info}/METADATA +1 -1
- gammarers.aws_resource_naming-0.8.1.dist-info/RECORD +9 -0
- gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.7.1.jsii.tgz +0 -0
- gammarers/aws_resource_naming/resource_naming/__init__.py +0 -131
- gammarers.aws_resource_naming-0.7.1.dist-info/RECORD +0 -10
- {gammarers.aws_resource_naming-0.7.1.dist-info → gammarers.aws_resource_naming-0.8.1.dist-info}/LICENSE +0 -0
- {gammarers.aws_resource_naming-0.7.1.dist-info → gammarers.aws_resource_naming-0.8.1.dist-info}/WHEEL +0 -0
- {gammarers.aws_resource_naming-0.7.1.dist-info → gammarers.aws_resource_naming-0.8.1.dist-info}/top_level.txt +0 -0
|
@@ -33,11 +33,102 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
|
33
33
|
|
|
34
34
|
from ._jsii import *
|
|
35
35
|
|
|
36
|
+
|
|
37
|
+
@jsii.data_type(
|
|
38
|
+
jsii_type="@gammarers/aws-resource-naming.ResourceAutoNaming",
|
|
39
|
+
jsii_struct_bases=[],
|
|
40
|
+
name_mapping={"type": "type"},
|
|
41
|
+
)
|
|
42
|
+
class ResourceAutoNaming:
|
|
43
|
+
def __init__(self, *, type: "ResourceNamingType") -> None:
|
|
44
|
+
'''
|
|
45
|
+
:param type:
|
|
46
|
+
'''
|
|
47
|
+
if __debug__:
|
|
48
|
+
type_hints = typing.get_type_hints(_typecheckingstub__28a02cc4583d76f3b0ceec83bb5e1ca2058c297411271cbd1600630d3d3d653c)
|
|
49
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
50
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
51
|
+
"type": type,
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
@builtins.property
|
|
55
|
+
def type(self) -> "ResourceNamingType":
|
|
56
|
+
result = self._values.get("type")
|
|
57
|
+
assert result is not None, "Required property 'type' is missing"
|
|
58
|
+
return typing.cast("ResourceNamingType", result)
|
|
59
|
+
|
|
60
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
61
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
62
|
+
|
|
63
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
64
|
+
return not (rhs == self)
|
|
65
|
+
|
|
66
|
+
def __repr__(self) -> str:
|
|
67
|
+
return "ResourceAutoNaming(%s)" % ", ".join(
|
|
68
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
@jsii.data_type(
|
|
73
|
+
jsii_type="@gammarers/aws-resource-naming.ResourceDefaultNaming",
|
|
74
|
+
jsii_struct_bases=[],
|
|
75
|
+
name_mapping={"type": "type"},
|
|
76
|
+
)
|
|
77
|
+
class ResourceDefaultNaming:
|
|
78
|
+
def __init__(self, *, type: "ResourceNamingType") -> None:
|
|
79
|
+
'''
|
|
80
|
+
:param type:
|
|
81
|
+
'''
|
|
82
|
+
if __debug__:
|
|
83
|
+
type_hints = typing.get_type_hints(_typecheckingstub__57fa6963424c8053c6ca770b74abe39433f08e92d66cd14d915200de0b3692a3)
|
|
84
|
+
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
85
|
+
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
86
|
+
"type": type,
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@builtins.property
|
|
90
|
+
def type(self) -> "ResourceNamingType":
|
|
91
|
+
result = self._values.get("type")
|
|
92
|
+
assert result is not None, "Required property 'type' is missing"
|
|
93
|
+
return typing.cast("ResourceNamingType", result)
|
|
94
|
+
|
|
95
|
+
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
96
|
+
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
97
|
+
|
|
98
|
+
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
99
|
+
return not (rhs == self)
|
|
100
|
+
|
|
101
|
+
def __repr__(self) -> str:
|
|
102
|
+
return "ResourceDefaultNaming(%s)" % ", ".join(
|
|
103
|
+
k + "=" + repr(v) for k, v in self._values.items()
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
@jsii.enum(jsii_type="@gammarers/aws-resource-naming.ResourceNamingType")
|
|
108
|
+
class ResourceNamingType(enum.Enum):
|
|
109
|
+
DEFAULT = "DEFAULT"
|
|
110
|
+
AUTO = "AUTO"
|
|
111
|
+
CUSTOM = "CUSTOM"
|
|
112
|
+
|
|
113
|
+
|
|
36
114
|
__all__ = [
|
|
37
|
-
"
|
|
115
|
+
"ResourceAutoNaming",
|
|
116
|
+
"ResourceDefaultNaming",
|
|
117
|
+
"ResourceNamingType",
|
|
38
118
|
]
|
|
39
119
|
|
|
40
120
|
publication.publish()
|
|
41
121
|
|
|
42
|
-
|
|
43
|
-
|
|
122
|
+
def _typecheckingstub__28a02cc4583d76f3b0ceec83bb5e1ca2058c297411271cbd1600630d3d3d653c(
|
|
123
|
+
*,
|
|
124
|
+
type: ResourceNamingType,
|
|
125
|
+
) -> None:
|
|
126
|
+
"""Type checking stubs"""
|
|
127
|
+
pass
|
|
128
|
+
|
|
129
|
+
def _typecheckingstub__57fa6963424c8053c6ca770b74abe39433f08e92d66cd14d915200de0b3692a3(
|
|
130
|
+
*,
|
|
131
|
+
type: ResourceNamingType,
|
|
132
|
+
) -> None:
|
|
133
|
+
"""Type checking stubs"""
|
|
134
|
+
pass
|
|
@@ -30,9 +30,9 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
|
30
30
|
|
|
31
31
|
__jsii_assembly__ = jsii.JSIIAssembly.load(
|
|
32
32
|
"@gammarers/aws-resource-naming",
|
|
33
|
-
"0.
|
|
33
|
+
"0.8.1",
|
|
34
34
|
__name__[0:-6],
|
|
35
|
-
"aws-resource-naming@0.
|
|
35
|
+
"aws-resource-naming@0.8.1.jsii.tgz",
|
|
36
36
|
)
|
|
37
37
|
|
|
38
38
|
__all__ = [
|
|
Binary file
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
gammarers/aws_resource_naming/__init__.py,sha256=PB1eZ5QQUEQeZdilWl1remjSN_l3rpKtZOUPYtEg6NQ,4429
|
|
2
|
+
gammarers/aws_resource_naming/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
+
gammarers/aws_resource_naming/_jsii/__init__.py,sha256=HFUEKjjVN_-wvkvla7FMQYmRAH5tPdyrTX_tfKa8waQ,1427
|
|
4
|
+
gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.8.1.jsii.tgz,sha256=mOX6anUKO4FOC2go8VbMgTqfi4ErAckoDRveUWoJg7g,10792
|
|
5
|
+
gammarers.aws_resource_naming-0.8.1.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
6
|
+
gammarers.aws_resource_naming-0.8.1.dist-info/METADATA,sha256=ZcI1plV-MQwLP0f2JWBYNGWmonO2f8axZsIj8kTOP_c,1049
|
|
7
|
+
gammarers.aws_resource_naming-0.8.1.dist-info/WHEEL,sha256=bFJAMchF8aTQGUgMZzHJyDDMPTO3ToJ7x23SLJa1SVo,92
|
|
8
|
+
gammarers.aws_resource_naming-0.8.1.dist-info/top_level.txt,sha256=aYHffMrt-8dtQoLeNk0M8OeqbA0a5gMcnNm5hL7OMHk,10
|
|
9
|
+
gammarers.aws_resource_naming-0.8.1.dist-info/RECORD,,
|
|
Binary file
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
from pkgutil import extend_path
|
|
2
|
-
__path__ = extend_path(__path__, __name__)
|
|
3
|
-
|
|
4
|
-
import abc
|
|
5
|
-
import builtins
|
|
6
|
-
import datetime
|
|
7
|
-
import enum
|
|
8
|
-
import typing
|
|
9
|
-
|
|
10
|
-
import jsii
|
|
11
|
-
import publication
|
|
12
|
-
import typing_extensions
|
|
13
|
-
|
|
14
|
-
import typeguard
|
|
15
|
-
from importlib.metadata import version as _metadata_package_version
|
|
16
|
-
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
17
|
-
|
|
18
|
-
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
19
|
-
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
20
|
-
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
21
|
-
else:
|
|
22
|
-
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
23
|
-
pass
|
|
24
|
-
else:
|
|
25
|
-
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
26
|
-
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
27
|
-
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
28
|
-
else:
|
|
29
|
-
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
30
|
-
|
|
31
|
-
from .._jsii import *
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
@jsii.data_type(
|
|
35
|
-
jsii_type="@gammarers/aws-resource-naming.ResourceNaming.AutoNaming",
|
|
36
|
-
jsii_struct_bases=[],
|
|
37
|
-
name_mapping={"type": "type"},
|
|
38
|
-
)
|
|
39
|
-
class AutoNaming:
|
|
40
|
-
def __init__(self, *, type: "NamingType") -> None:
|
|
41
|
-
'''
|
|
42
|
-
:param type:
|
|
43
|
-
'''
|
|
44
|
-
if __debug__:
|
|
45
|
-
type_hints = typing.get_type_hints(_typecheckingstub__d518bf12b9278312a7912345595a9ad5fb69dd947b23f1445449a336a3e8845c)
|
|
46
|
-
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
47
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
48
|
-
"type": type,
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@builtins.property
|
|
52
|
-
def type(self) -> "NamingType":
|
|
53
|
-
result = self._values.get("type")
|
|
54
|
-
assert result is not None, "Required property 'type' is missing"
|
|
55
|
-
return typing.cast("NamingType", result)
|
|
56
|
-
|
|
57
|
-
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
58
|
-
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
59
|
-
|
|
60
|
-
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
61
|
-
return not (rhs == self)
|
|
62
|
-
|
|
63
|
-
def __repr__(self) -> str:
|
|
64
|
-
return "AutoNaming(%s)" % ", ".join(
|
|
65
|
-
k + "=" + repr(v) for k, v in self._values.items()
|
|
66
|
-
)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
@jsii.data_type(
|
|
70
|
-
jsii_type="@gammarers/aws-resource-naming.ResourceNaming.DefaultNaming",
|
|
71
|
-
jsii_struct_bases=[],
|
|
72
|
-
name_mapping={"type": "type"},
|
|
73
|
-
)
|
|
74
|
-
class DefaultNaming:
|
|
75
|
-
def __init__(self, *, type: "NamingType") -> None:
|
|
76
|
-
'''
|
|
77
|
-
:param type:
|
|
78
|
-
'''
|
|
79
|
-
if __debug__:
|
|
80
|
-
type_hints = typing.get_type_hints(_typecheckingstub__a6fe688f7026700ff451ff908b5358d3e7292c007575b3de8dfbdfcbadcb332f)
|
|
81
|
-
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
82
|
-
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
83
|
-
"type": type,
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
@builtins.property
|
|
87
|
-
def type(self) -> "NamingType":
|
|
88
|
-
result = self._values.get("type")
|
|
89
|
-
assert result is not None, "Required property 'type' is missing"
|
|
90
|
-
return typing.cast("NamingType", result)
|
|
91
|
-
|
|
92
|
-
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
93
|
-
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
94
|
-
|
|
95
|
-
def __ne__(self, rhs: typing.Any) -> builtins.bool:
|
|
96
|
-
return not (rhs == self)
|
|
97
|
-
|
|
98
|
-
def __repr__(self) -> str:
|
|
99
|
-
return "DefaultNaming(%s)" % ", ".join(
|
|
100
|
-
k + "=" + repr(v) for k, v in self._values.items()
|
|
101
|
-
)
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
@jsii.enum(jsii_type="@gammarers/aws-resource-naming.ResourceNaming.NamingType")
|
|
105
|
-
class NamingType(enum.Enum):
|
|
106
|
-
DEFAULT = "DEFAULT"
|
|
107
|
-
AUTO = "AUTO"
|
|
108
|
-
CUSTOM = "CUSTOM"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
__all__ = [
|
|
112
|
-
"AutoNaming",
|
|
113
|
-
"DefaultNaming",
|
|
114
|
-
"NamingType",
|
|
115
|
-
]
|
|
116
|
-
|
|
117
|
-
publication.publish()
|
|
118
|
-
|
|
119
|
-
def _typecheckingstub__d518bf12b9278312a7912345595a9ad5fb69dd947b23f1445449a336a3e8845c(
|
|
120
|
-
*,
|
|
121
|
-
type: NamingType,
|
|
122
|
-
) -> None:
|
|
123
|
-
"""Type checking stubs"""
|
|
124
|
-
pass
|
|
125
|
-
|
|
126
|
-
def _typecheckingstub__a6fe688f7026700ff451ff908b5358d3e7292c007575b3de8dfbdfcbadcb332f(
|
|
127
|
-
*,
|
|
128
|
-
type: NamingType,
|
|
129
|
-
) -> None:
|
|
130
|
-
"""Type checking stubs"""
|
|
131
|
-
pass
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
gammarers/aws_resource_naming/__init__.py,sha256=OKd0Xeh-5m5Ca20HN7uSspIKXtsUanPIEJgDs9SkVH4,1434
|
|
2
|
-
gammarers/aws_resource_naming/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
3
|
-
gammarers/aws_resource_naming/_jsii/__init__.py,sha256=zdmUaesrAkkGnA-EJUQliZHQAtGeShNIxs0WivFhP1c,1427
|
|
4
|
-
gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.7.1.jsii.tgz,sha256=LgAhvOrCkwZHecRiYh1vDst8pVP1Ydb0p8_xckv3EXY,10661
|
|
5
|
-
gammarers/aws_resource_naming/resource_naming/__init__.py,sha256=FL-vfpFLk37v8pUQHXvSJvXgiWnqK6Jk2Bx15jJi6PA,4292
|
|
6
|
-
gammarers.aws_resource_naming-0.7.1.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
7
|
-
gammarers.aws_resource_naming-0.7.1.dist-info/METADATA,sha256=8wJRQZQa0J-mg7eR_H8-9u-rTrKJbzctWtqAM0U_DMY,1049
|
|
8
|
-
gammarers.aws_resource_naming-0.7.1.dist-info/WHEEL,sha256=bFJAMchF8aTQGUgMZzHJyDDMPTO3ToJ7x23SLJa1SVo,92
|
|
9
|
-
gammarers.aws_resource_naming-0.7.1.dist-info/top_level.txt,sha256=aYHffMrt-8dtQoLeNk0M8OeqbA0a5gMcnNm5hL7OMHk,10
|
|
10
|
-
gammarers.aws_resource_naming-0.7.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|