gammarers.aws-resource-naming 0.7.1__tar.gz → 0.8.1__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.7.1/src/gammarers.aws_resource_naming.egg-info → gammarers_aws_resource_naming-0.8.1}/PKG-INFO +1 -1
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/setup.py +3 -4
- {gammarers_aws_resource_naming-0.7.1/src/gammarers/aws_resource_naming/resource_naming → gammarers_aws_resource_naming-0.8.1/src/gammarers/aws_resource_naming}/__init__.py +27 -24
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/src/gammarers/aws_resource_naming/_jsii/__init__.py +2 -2
- gammarers_aws_resource_naming-0.8.1/src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.8.1.jsii.tgz +0 -0
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1/src/gammarers.aws_resource_naming.egg-info}/PKG-INFO +1 -1
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/src/gammarers.aws_resource_naming.egg-info/SOURCES.txt +1 -2
- gammarers_aws_resource_naming-0.7.1/src/gammarers/aws_resource_naming/__init__.py +0 -43
- gammarers_aws_resource_naming-0.7.1/src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.7.1.jsii.tgz +0 -0
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/LICENSE +0 -0
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/MANIFEST.in +0 -0
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/README.md +0 -0
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/pyproject.toml +0 -0
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/setup.cfg +0 -0
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/src/gammarers/aws_resource_naming/py.typed +0 -0
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/src/gammarers.aws_resource_naming.egg-info/dependency_links.txt +0 -0
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/src/gammarers.aws_resource_naming.egg-info/requires.txt +0 -0
- {gammarers_aws_resource_naming-0.7.1 → gammarers_aws_resource_naming-0.8.1}/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.8.1",
|
|
9
9
|
"description": "@gammarers/aws-resource-naming",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"url": "https://github.com/gammarers/aws-resource-naming.git",
|
|
@@ -22,12 +22,11 @@ kwargs = json.loads(
|
|
|
22
22
|
},
|
|
23
23
|
"packages": [
|
|
24
24
|
"gammarers.aws_resource_naming",
|
|
25
|
-
"gammarers.aws_resource_naming._jsii"
|
|
26
|
-
"gammarers.aws_resource_naming.resource_naming"
|
|
25
|
+
"gammarers.aws_resource_naming._jsii"
|
|
27
26
|
],
|
|
28
27
|
"package_data": {
|
|
29
28
|
"gammarers.aws_resource_naming._jsii": [
|
|
30
|
-
"aws-resource-naming@0.
|
|
29
|
+
"aws-resource-naming@0.8.1.jsii.tgz"
|
|
31
30
|
],
|
|
32
31
|
"gammarers.aws_resource_naming": [
|
|
33
32
|
"py.typed"
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
r'''
|
|
2
|
+
# AWS Resource Naming
|
|
3
|
+
'''
|
|
1
4
|
from pkgutil import extend_path
|
|
2
5
|
__path__ = extend_path(__path__, __name__)
|
|
3
6
|
|
|
@@ -28,31 +31,31 @@ def check_type(argname: str, value: object, expected_type: typing.Any) -> typing
|
|
|
28
31
|
else:
|
|
29
32
|
typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore
|
|
30
33
|
|
|
31
|
-
from
|
|
34
|
+
from ._jsii import *
|
|
32
35
|
|
|
33
36
|
|
|
34
37
|
@jsii.data_type(
|
|
35
|
-
jsii_type="@gammarers/aws-resource-naming.
|
|
38
|
+
jsii_type="@gammarers/aws-resource-naming.ResourceAutoNaming",
|
|
36
39
|
jsii_struct_bases=[],
|
|
37
40
|
name_mapping={"type": "type"},
|
|
38
41
|
)
|
|
39
|
-
class
|
|
40
|
-
def __init__(self, *, type: "
|
|
42
|
+
class ResourceAutoNaming:
|
|
43
|
+
def __init__(self, *, type: "ResourceNamingType") -> None:
|
|
41
44
|
'''
|
|
42
45
|
:param type:
|
|
43
46
|
'''
|
|
44
47
|
if __debug__:
|
|
45
|
-
type_hints = typing.get_type_hints(
|
|
48
|
+
type_hints = typing.get_type_hints(_typecheckingstub__28a02cc4583d76f3b0ceec83bb5e1ca2058c297411271cbd1600630d3d3d653c)
|
|
46
49
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
47
50
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
48
51
|
"type": type,
|
|
49
52
|
}
|
|
50
53
|
|
|
51
54
|
@builtins.property
|
|
52
|
-
def type(self) -> "
|
|
55
|
+
def type(self) -> "ResourceNamingType":
|
|
53
56
|
result = self._values.get("type")
|
|
54
57
|
assert result is not None, "Required property 'type' is missing"
|
|
55
|
-
return typing.cast("
|
|
58
|
+
return typing.cast("ResourceNamingType", result)
|
|
56
59
|
|
|
57
60
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
58
61
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -61,33 +64,33 @@ class AutoNaming:
|
|
|
61
64
|
return not (rhs == self)
|
|
62
65
|
|
|
63
66
|
def __repr__(self) -> str:
|
|
64
|
-
return "
|
|
67
|
+
return "ResourceAutoNaming(%s)" % ", ".join(
|
|
65
68
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
66
69
|
)
|
|
67
70
|
|
|
68
71
|
|
|
69
72
|
@jsii.data_type(
|
|
70
|
-
jsii_type="@gammarers/aws-resource-naming.
|
|
73
|
+
jsii_type="@gammarers/aws-resource-naming.ResourceDefaultNaming",
|
|
71
74
|
jsii_struct_bases=[],
|
|
72
75
|
name_mapping={"type": "type"},
|
|
73
76
|
)
|
|
74
|
-
class
|
|
75
|
-
def __init__(self, *, type: "
|
|
77
|
+
class ResourceDefaultNaming:
|
|
78
|
+
def __init__(self, *, type: "ResourceNamingType") -> None:
|
|
76
79
|
'''
|
|
77
80
|
:param type:
|
|
78
81
|
'''
|
|
79
82
|
if __debug__:
|
|
80
|
-
type_hints = typing.get_type_hints(
|
|
83
|
+
type_hints = typing.get_type_hints(_typecheckingstub__57fa6963424c8053c6ca770b74abe39433f08e92d66cd14d915200de0b3692a3)
|
|
81
84
|
check_type(argname="argument type", value=type, expected_type=type_hints["type"])
|
|
82
85
|
self._values: typing.Dict[builtins.str, typing.Any] = {
|
|
83
86
|
"type": type,
|
|
84
87
|
}
|
|
85
88
|
|
|
86
89
|
@builtins.property
|
|
87
|
-
def type(self) -> "
|
|
90
|
+
def type(self) -> "ResourceNamingType":
|
|
88
91
|
result = self._values.get("type")
|
|
89
92
|
assert result is not None, "Required property 'type' is missing"
|
|
90
|
-
return typing.cast("
|
|
93
|
+
return typing.cast("ResourceNamingType", result)
|
|
91
94
|
|
|
92
95
|
def __eq__(self, rhs: typing.Any) -> builtins.bool:
|
|
93
96
|
return isinstance(rhs, self.__class__) and rhs._values == self._values
|
|
@@ -96,36 +99,36 @@ class DefaultNaming:
|
|
|
96
99
|
return not (rhs == self)
|
|
97
100
|
|
|
98
101
|
def __repr__(self) -> str:
|
|
99
|
-
return "
|
|
102
|
+
return "ResourceDefaultNaming(%s)" % ", ".join(
|
|
100
103
|
k + "=" + repr(v) for k, v in self._values.items()
|
|
101
104
|
)
|
|
102
105
|
|
|
103
106
|
|
|
104
|
-
@jsii.enum(jsii_type="@gammarers/aws-resource-naming.
|
|
105
|
-
class
|
|
107
|
+
@jsii.enum(jsii_type="@gammarers/aws-resource-naming.ResourceNamingType")
|
|
108
|
+
class ResourceNamingType(enum.Enum):
|
|
106
109
|
DEFAULT = "DEFAULT"
|
|
107
110
|
AUTO = "AUTO"
|
|
108
111
|
CUSTOM = "CUSTOM"
|
|
109
112
|
|
|
110
113
|
|
|
111
114
|
__all__ = [
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
+
"ResourceAutoNaming",
|
|
116
|
+
"ResourceDefaultNaming",
|
|
117
|
+
"ResourceNamingType",
|
|
115
118
|
]
|
|
116
119
|
|
|
117
120
|
publication.publish()
|
|
118
121
|
|
|
119
|
-
def
|
|
122
|
+
def _typecheckingstub__28a02cc4583d76f3b0ceec83bb5e1ca2058c297411271cbd1600630d3d3d653c(
|
|
120
123
|
*,
|
|
121
|
-
type:
|
|
124
|
+
type: ResourceNamingType,
|
|
122
125
|
) -> None:
|
|
123
126
|
"""Type checking stubs"""
|
|
124
127
|
pass
|
|
125
128
|
|
|
126
|
-
def
|
|
129
|
+
def _typecheckingstub__57fa6963424c8053c6ca770b74abe39433f08e92d66cd14d915200de0b3692a3(
|
|
127
130
|
*,
|
|
128
|
-
type:
|
|
131
|
+
type: ResourceNamingType,
|
|
129
132
|
) -> None:
|
|
130
133
|
"""Type checking stubs"""
|
|
131
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
|
|
@@ -11,5 +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.
|
|
15
|
-
src/gammarers/aws_resource_naming/resource_naming/__init__.py
|
|
14
|
+
src/gammarers/aws_resource_naming/_jsii/aws-resource-naming@0.8.1.jsii.tgz
|
|
@@ -1,43 +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
|
-
__all__ = [
|
|
37
|
-
"resource_naming",
|
|
38
|
-
]
|
|
39
|
-
|
|
40
|
-
publication.publish()
|
|
41
|
-
|
|
42
|
-
# Loading modules to ensure their types are registered with the jsii runtime library
|
|
43
|
-
from . import resource_naming
|
|
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
|