gammarers.aws-resource-naming 0.9.0__tar.gz → 0.10.0__tar.gz
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-0.9.0/src/gammarers.aws_resource_naming.egg-info → gammarers_aws_resource_naming-0.10.0}/PKG-INFO +1 -1
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/setup.py +2 -2
- gammarers_aws_resource_naming-0.10.0/src/gammarers/aws_resource_naming/__init__.py +134 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/src/gammarers/aws_resource_naming/_jsii/__init__.py +2 -2
- gammarers_aws_resource_naming-0.10.0/src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.10.0.jsii.tgz +0 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0/src/gammarers.aws_resource_naming.egg-info}/PKG-INFO +1 -1
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/src/gammarers.aws_resource_naming.egg-info/SOURCES.txt +1 -1
- gammarers_aws_resource_naming-0.9.0/src/gammarers/aws_resource_naming/__init__.py +0 -48
- gammarers_aws_resource_naming-0.9.0/src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.9.0.jsii.tgz +0 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/LICENSE +0 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/MANIFEST.in +0 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/README.md +0 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/pyproject.toml +0 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/setup.cfg +0 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/src/gammarers/aws_resource_naming/py.typed +0 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/src/gammarers.aws_resource_naming.egg-info/dependency_links.txt +0 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/src/gammarers.aws_resource_naming.egg-info/requires.txt +0 -0
- {gammarers_aws_resource_naming-0.9.0 → gammarers_aws_resource_naming-0.10.0}/src/gammarers.aws_resource_naming.egg-info/top_level.txt +0 -0
|
@@ -5,7 +5,7 @@ kwargs = json.loads(
|
|
|
5
5
|
"""
|
|
6
6
|
{
|
|
7
7
|
"name": "gammarers.aws-resource-naming",
|
|
8
|
-
"version": "0.
|
|
8
|
+
"version": "0.10.0",
|
|
9
9
|
"description": "@gammarers/aws-resource-naming",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/gammarers/aws-resource-naming.git",
|
|
@@ -26,7 +26,7 @@ kwargs = json.loads(
|
|
|
26
26
|
],
|
|
27
27
|
"package_data": {
|
|
28
28
|
"gammarers.aws_resource_naming._jsii": [
|
|
29
|
-
"aws-resource-naming@0.
|
|
29
|
+
"aws-resource-naming@0.10.0.jsii.tgz"
|
|
30
30
|
],
|
|
31
31
|
"gammarers.aws_resource_naming": [
|
|
32
32
|
"py.typed"
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# AWS Resource Naming
|
|
3
|
+
'''
|
|
4
|
+
from pkgutil import extend_path
|
|
5
|
+
__path__ = extend_path(__path__, __name__)
|
|
6
|
+
|
|
7
|
+
import abc
|
|
8
|
+
import builtins
|
|
9
|
+
import datetime
|
|
10
|
+
import enum
|
|
11
|
+
import typing
|
|
12
|
+
|
|
13
|
+
import jsii
|
|
14
|
+
import publication
|
|
15
|
+
import typing_extensions
|
|
16
|
+
|
|
17
|
+
import typeguard
|
|
18
|
+
from importlib.metadata import version as _metadata_package_version
|
|
19
|
+
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
20
|
+
|
|
21
|
+
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
22
|
+
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
23
|
+
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
24
|
+
else:
|
|
25
|
+
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
26
|
+
pass
|
|
27
|
+
else:
|
|
28
|
+
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
29
|
+
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
30
|
+
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
31
|
+
else:
|
|
32
|
+
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
33
|
+
|
|
34
|
+
from ._jsii import *
|
|
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
|
+
|
|
114
|
+
__all__ = [
|
|
115
|
+
"ResourceAutoNaming",
|
|
116
|
+
"ResourceDefaultNaming",
|
|
117
|
+
"ResourceNamingType",
|
|
118
|
+
]
|
|
119
|
+
|
|
120
|
+
publication.publish()
|
|
121
|
+
|
|
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.10.0",
|
|
34
34
|
__name__[0:-6],
|
|
35
|
-
"aws-resource-naming@0.
|
|
35
|
+
"aws-resource-naming@0.10.0.jsii.tgz",
|
|
36
36
|
)
|
|
37
37
|
|
|
38
38
|
__all__ = [
|
|
Binary file
|
|
@@ -11,4 +11,4 @@ src/gammarers.aws_resource_naming.egg-info/top_level.txt
|
|
|
11
11
|
src/gammarers/aws_resource_naming/__init__.py
|
|
12
12
|
src/gammarers/aws_resource_naming/py.typed
|
|
13
13
|
src/gammarers/aws_resource_naming/_jsii/__init__.py
|
|
14
|
-
src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.
|
|
14
|
+
src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.10.0.jsii.tgz
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
r'''
|
|
2
|
-
# AWS Resource Naming
|
|
3
|
-
'''
|
|
4
|
-
from pkgutil import extend_path
|
|
5
|
-
__path__ = extend_path(__path__, __name__)
|
|
6
|
-
|
|
7
|
-
import abc
|
|
8
|
-
import builtins
|
|
9
|
-
import datetime
|
|
10
|
-
import enum
|
|
11
|
-
import typing
|
|
12
|
-
|
|
13
|
-
import jsii
|
|
14
|
-
import publication
|
|
15
|
-
import typing_extensions
|
|
16
|
-
|
|
17
|
-
import typeguard
|
|
18
|
-
from importlib.metadata import version as _metadata_package_version
|
|
19
|
-
TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])
|
|
20
|
-
|
|
21
|
-
def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any:
|
|
22
|
-
if TYPEGUARD_MAJOR_VERSION <= 2:
|
|
23
|
-
return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore
|
|
24
|
-
else:
|
|
25
|
-
if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]
|
|
26
|
-
pass
|
|
27
|
-
else:
|
|
28
|
-
if TYPEGUARD_MAJOR_VERSION == 3:
|
|
29
|
-
typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore
|
|
30
|
-
typeguard.check_type(value=value, expected_type=expected_type) # type:ignore
|
|
31
|
-
else:
|
|
32
|
-
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
33
|
-
|
|
34
|
-
from ._jsii import *
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
@jsii.enum(jsii_type="@gammarers/aws-resource-naming.ResourceNamingType")
|
|
38
|
-
class ResourceNamingType(enum.Enum):
|
|
39
|
-
DEFAULT = "DEFAULT"
|
|
40
|
-
AUTO = "AUTO"
|
|
41
|
-
CUSTOM = "CUSTOM"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
__all__ = [
|
|
45
|
-
"ResourceNamingType",
|
|
46
|
-
]
|
|
47
|
-
|
|
48
|
-
publication.publish()
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|