methodaws 0.0.24__tar.gz → 0.0.26__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.
- {methodaws-0.0.24 → methodaws-0.0.26}/PKG-INFO +1 -1
- {methodaws-0.0.24 → methodaws-0.0.26}/pyproject.toml +1 -1
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/__init__.py +14 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/__init__.py +9 -1
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/bucket.py +7 -3
- methodaws-0.0.26/src/methodaws/resources/waf/__init__.py +10 -0
- methodaws-0.0.26/src/methodaws/resources/waf/region_waf_info.py +19 -0
- methodaws-0.0.26/src/methodaws/resources/waf/resource_info.py +17 -0
- methodaws-0.0.26/src/methodaws/resources/waf/rule_info.py +19 -0
- methodaws-0.0.26/src/methodaws/resources/waf/scope_type.py +5 -0
- methodaws-0.0.26/src/methodaws/resources/waf/waf.py +23 -0
- methodaws-0.0.26/src/methodaws/resources/waf/waf_report.py +21 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/README.md +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/core/__init__.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/core/datetime_utils.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/core/pydantic_utilities.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/core/serialization.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/py.typed +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/credential/__init__.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/credential/credential_info.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/credential/credential_report.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/__init__.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/certificate.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/ip_address_type.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/listener.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/load_balancer_report.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/load_balancer_state.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/load_balancer_v_1.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/load_balancer_v_2.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/protocol.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/target.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/target_group.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/target_group_ip_address_type.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/target_type.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/__init__.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/bucket_versioning_status.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/encryption_rule.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/external_bucket.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/external_s_3_report.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/s_3_bucket_acl.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/s_3_mfa_delete_status.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/s_3_object_details.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/s_3_public_access_block_configuration.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/s_3_report.py +0 -0
- {methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/s_3_server_side_encryption.py +0 -0
|
@@ -16,19 +16,26 @@ from .resources import (
|
|
|
16
16
|
LoadBalancerV1,
|
|
17
17
|
LoadBalancerV2,
|
|
18
18
|
Protocol,
|
|
19
|
+
RegionWafInfo,
|
|
20
|
+
ResourceInfo,
|
|
21
|
+
RuleInfo,
|
|
19
22
|
S3BucketAcl,
|
|
20
23
|
S3MfaDeleteStatus,
|
|
21
24
|
S3ObjectDetails,
|
|
22
25
|
S3PublicAccessBlockConfiguration,
|
|
23
26
|
S3Report,
|
|
24
27
|
S3ServerSideEncryption,
|
|
28
|
+
ScopeType,
|
|
25
29
|
Target,
|
|
26
30
|
TargetGroup,
|
|
27
31
|
TargetGroupIpAddressType,
|
|
28
32
|
TargetType,
|
|
33
|
+
Waf,
|
|
34
|
+
WafReport,
|
|
29
35
|
credential,
|
|
30
36
|
loadbalancer,
|
|
31
37
|
s_3,
|
|
38
|
+
waf,
|
|
32
39
|
)
|
|
33
40
|
|
|
34
41
|
__all__ = [
|
|
@@ -47,17 +54,24 @@ __all__ = [
|
|
|
47
54
|
"LoadBalancerV1",
|
|
48
55
|
"LoadBalancerV2",
|
|
49
56
|
"Protocol",
|
|
57
|
+
"RegionWafInfo",
|
|
58
|
+
"ResourceInfo",
|
|
59
|
+
"RuleInfo",
|
|
50
60
|
"S3BucketAcl",
|
|
51
61
|
"S3MfaDeleteStatus",
|
|
52
62
|
"S3ObjectDetails",
|
|
53
63
|
"S3PublicAccessBlockConfiguration",
|
|
54
64
|
"S3Report",
|
|
55
65
|
"S3ServerSideEncryption",
|
|
66
|
+
"ScopeType",
|
|
56
67
|
"Target",
|
|
57
68
|
"TargetGroup",
|
|
58
69
|
"TargetGroupIpAddressType",
|
|
59
70
|
"TargetType",
|
|
71
|
+
"Waf",
|
|
72
|
+
"WafReport",
|
|
60
73
|
"credential",
|
|
61
74
|
"loadbalancer",
|
|
62
75
|
"s_3",
|
|
76
|
+
"waf",
|
|
63
77
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
|
|
3
|
-
from . import credential, loadbalancer, s_3
|
|
3
|
+
from . import credential, loadbalancer, s_3, waf
|
|
4
4
|
from .credential import CredentialInfo, CredentialReport
|
|
5
5
|
from .loadbalancer import (
|
|
6
6
|
Certificate,
|
|
@@ -29,6 +29,7 @@ from .s_3 import (
|
|
|
29
29
|
S3Report,
|
|
30
30
|
S3ServerSideEncryption,
|
|
31
31
|
)
|
|
32
|
+
from .waf import RegionWafInfo, ResourceInfo, RuleInfo, ScopeType, Waf, WafReport
|
|
32
33
|
|
|
33
34
|
__all__ = [
|
|
34
35
|
"Bucket",
|
|
@@ -46,17 +47,24 @@ __all__ = [
|
|
|
46
47
|
"LoadBalancerV1",
|
|
47
48
|
"LoadBalancerV2",
|
|
48
49
|
"Protocol",
|
|
50
|
+
"RegionWafInfo",
|
|
51
|
+
"ResourceInfo",
|
|
52
|
+
"RuleInfo",
|
|
49
53
|
"S3BucketAcl",
|
|
50
54
|
"S3MfaDeleteStatus",
|
|
51
55
|
"S3ObjectDetails",
|
|
52
56
|
"S3PublicAccessBlockConfiguration",
|
|
53
57
|
"S3Report",
|
|
54
58
|
"S3ServerSideEncryption",
|
|
59
|
+
"ScopeType",
|
|
55
60
|
"Target",
|
|
56
61
|
"TargetGroup",
|
|
57
62
|
"TargetGroupIpAddressType",
|
|
58
63
|
"TargetType",
|
|
64
|
+
"Waf",
|
|
65
|
+
"WafReport",
|
|
59
66
|
"credential",
|
|
60
67
|
"loadbalancer",
|
|
61
68
|
"s_3",
|
|
69
|
+
"waf",
|
|
62
70
|
]
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
from ...core.pydantic_utilities import UniversalBaseModel
|
|
4
4
|
import datetime as dt
|
|
5
5
|
import pydantic
|
|
6
|
-
from .s_3_public_access_block_configuration import S3PublicAccessBlockConfiguration
|
|
7
6
|
import typing
|
|
7
|
+
from .s_3_public_access_block_configuration import S3PublicAccessBlockConfiguration
|
|
8
8
|
from .bucket_versioning_status import BucketVersioningStatus
|
|
9
9
|
from .s_3_mfa_delete_status import S3MfaDeleteStatus
|
|
10
10
|
from .encryption_rule import EncryptionRule
|
|
@@ -19,11 +19,15 @@ class Bucket(UniversalBaseModel):
|
|
|
19
19
|
creation_date: dt.datetime = pydantic.Field(alias="creationDate")
|
|
20
20
|
owner_id: str = pydantic.Field(alias="ownerID")
|
|
21
21
|
owner_name: str = pydantic.Field(alias="ownerName")
|
|
22
|
-
public_access_config: S3PublicAccessBlockConfiguration = pydantic.Field(
|
|
22
|
+
public_access_config: typing.Optional[S3PublicAccessBlockConfiguration] = pydantic.Field(
|
|
23
|
+
alias="publicAccessConfig", default=None
|
|
24
|
+
)
|
|
23
25
|
policy: typing.Optional[str] = None
|
|
24
26
|
bucket_versioning: typing.Optional[BucketVersioningStatus] = pydantic.Field(alias="bucketVersioning", default=None)
|
|
25
27
|
mfa_delete: typing.Optional[S3MfaDeleteStatus] = pydantic.Field(alias="mfaDelete", default=None)
|
|
26
|
-
encryption_rules: typing.List[EncryptionRule] = pydantic.Field(
|
|
28
|
+
encryption_rules: typing.Optional[typing.List[EncryptionRule]] = pydantic.Field(
|
|
29
|
+
alias="encryptionRules", default=None
|
|
30
|
+
)
|
|
27
31
|
|
|
28
32
|
if IS_PYDANTIC_V2:
|
|
29
33
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow") # type: ignore # Pydantic v2
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from .region_waf_info import RegionWafInfo
|
|
4
|
+
from .resource_info import ResourceInfo
|
|
5
|
+
from .rule_info import RuleInfo
|
|
6
|
+
from .scope_type import ScopeType
|
|
7
|
+
from .waf import Waf
|
|
8
|
+
from .waf_report import WafReport
|
|
9
|
+
|
|
10
|
+
__all__ = ["RegionWafInfo", "ResourceInfo", "RuleInfo", "ScopeType", "Waf", "WafReport"]
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ...core.pydantic_utilities import UniversalBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
from .waf import Waf
|
|
6
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
+
import pydantic
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class RegionWafInfo(UniversalBaseModel):
|
|
11
|
+
region: str
|
|
12
|
+
wafs: typing.Optional[typing.List[Waf]] = None
|
|
13
|
+
|
|
14
|
+
if IS_PYDANTIC_V2:
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow") # type: ignore # Pydantic v2
|
|
16
|
+
else:
|
|
17
|
+
|
|
18
|
+
class Config:
|
|
19
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ...core.pydantic_utilities import UniversalBaseModel
|
|
4
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
5
|
+
import typing
|
|
6
|
+
import pydantic
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ResourceInfo(UniversalBaseModel):
|
|
10
|
+
arn: str
|
|
11
|
+
|
|
12
|
+
if IS_PYDANTIC_V2:
|
|
13
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow") # type: ignore # Pydantic v2
|
|
14
|
+
else:
|
|
15
|
+
|
|
16
|
+
class Config:
|
|
17
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ...core.pydantic_utilities import UniversalBaseModel
|
|
4
|
+
import pydantic
|
|
5
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
6
|
+
import typing
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class RuleInfo(UniversalBaseModel):
|
|
10
|
+
name: str
|
|
11
|
+
priority: int
|
|
12
|
+
json_blob: str = pydantic.Field(alias="jsonBlob")
|
|
13
|
+
|
|
14
|
+
if IS_PYDANTIC_V2:
|
|
15
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow") # type: ignore # Pydantic v2
|
|
16
|
+
else:
|
|
17
|
+
|
|
18
|
+
class Config:
|
|
19
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ...core.pydantic_utilities import UniversalBaseModel
|
|
4
|
+
import typing
|
|
5
|
+
from .rule_info import RuleInfo
|
|
6
|
+
from .resource_info import ResourceInfo
|
|
7
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
|
+
import pydantic
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class Waf(UniversalBaseModel):
|
|
12
|
+
arn: str
|
|
13
|
+
name: str
|
|
14
|
+
description: typing.Optional[str] = None
|
|
15
|
+
rules: typing.Optional[typing.List[RuleInfo]] = None
|
|
16
|
+
resources: typing.Optional[typing.List[ResourceInfo]] = None
|
|
17
|
+
|
|
18
|
+
if IS_PYDANTIC_V2:
|
|
19
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow") # type: ignore # Pydantic v2
|
|
20
|
+
else:
|
|
21
|
+
|
|
22
|
+
class Config:
|
|
23
|
+
extra = pydantic.Extra.allow
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from ...core.pydantic_utilities import UniversalBaseModel
|
|
4
|
+
from .scope_type import ScopeType
|
|
5
|
+
import typing
|
|
6
|
+
from .region_waf_info import RegionWafInfo
|
|
7
|
+
from ...core.pydantic_utilities import IS_PYDANTIC_V2
|
|
8
|
+
import pydantic
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class WafReport(UniversalBaseModel):
|
|
12
|
+
scope: ScopeType
|
|
13
|
+
regions: typing.Optional[typing.List[RegionWafInfo]] = None
|
|
14
|
+
errors: typing.Optional[typing.List[str]] = None
|
|
15
|
+
|
|
16
|
+
if IS_PYDANTIC_V2:
|
|
17
|
+
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow") # type: ignore # Pydantic v2
|
|
18
|
+
else:
|
|
19
|
+
|
|
20
|
+
class Config:
|
|
21
|
+
extra = pydantic.Extra.allow
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/credential/credential_report.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/ip_address_type.py
RENAMED
|
File without changes
|
|
File without changes
|
{methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/load_balancer_report.py
RENAMED
|
File without changes
|
{methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/load_balancer_state.py
RENAMED
|
File without changes
|
{methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/load_balancer_v_1.py
RENAMED
|
File without changes
|
{methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/loadbalancer/load_balancer_v_2.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/bucket_versioning_status.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{methodaws-0.0.24 → methodaws-0.0.26}/src/methodaws/resources/s_3/s_3_server_side_encryption.py
RENAMED
|
File without changes
|