Skip to content

Commit 8b82a31

Browse files
author
Connor Robertson
authored
Revert "Release 1.81.0 (to main)" (#3432)
1 parent bedb81b commit 8b82a31

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+176
-6604
lines changed

integration/combination/test_connectors.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ def tearDown(self):
6262
("combination/connector_appsync_api_to_lambda",),
6363
("combination/connector_appsync_to_lambda",),
6464
("combination/connector_appsync_to_table",),
65-
("combination/connector_appsync_to_eventbus",),
6665
("combination/connector_function_to_function",),
6766
("combination/connector_restapi_to_function",),
6867
("combination/connector_httpapi_to_function",),

integration/resources/expected/combination/connector_appsync_to_eventbus.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

integration/resources/templates/combination/connector_appsync_to_eventbus.yaml

Lines changed: 0 additions & 192 deletions
This file was deleted.

integration/single/test_basic_state_machine.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ def test_basic_state_machine_with_tags(self):
3434
self._verify_tag_presence(tags, "TagOne", "ValueOne")
3535
self._verify_tag_presence(tags, "TagTwo", "ValueTwo")
3636

37-
@skipIf(
38-
current_region_does_not_support([STATE_MACHINE_INLINE_DEFINITION]),
39-
"StateMachine with inline definition is not supported in this testing region",
40-
)
4137
def test_state_machine_with_role_path(self):
4238
"""
4339
Creates a State machine with a Role Path

pytest.ini

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,3 @@ filterwarnings =
2020
ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning
2121
# Pytest warnings
2222
ignore::pytest.PytestUnraisableExceptionWarning
23-
# https://github.com/urllib3/urllib3/blob/main/src/urllib3/poolmanager.py#L313
24-
ignore::DeprecationWarning:urllib3.*:

samtranslator/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.81.0"
1+
__version__ = "1.80.0"

samtranslator/internal/schema_source/aws_serverless_function.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ class Properties(BaseModel):
628628
SnapStart: Optional[SnapStart] = prop("SnapStart")
629629
RuntimeManagementConfig: Optional[RuntimeManagementConfig] = prop("RuntimeManagementConfig")
630630
Tags: Optional[Tags] = prop("Tags")
631-
PropagateTags: Optional[bool] = prop("PropagateTags")
631+
PropagateTags: Optional[bool] # TODO: add docs
632632
Timeout: Optional[Timeout] = prop("Timeout")
633633
Tracing: Optional[Tracing] = prop("Tracing")
634634
VersionDescription: Optional[PassThroughProp] = prop("VersionDescription")
@@ -659,7 +659,7 @@ class Globals(BaseModel):
659659
["AWS::Lambda::Function", "Properties", "Environment"],
660660
)
661661
Tags: Optional[Tags] = prop("Tags")
662-
PropagateTags: Optional[bool] = prop("PropagateTags")
662+
PropagateTags: Optional[bool] # TODO: add docs
663663
Tracing: Optional[Tracing] = prop("Tracing")
664664
KmsKeyArn: Optional[KmsKeyArn] = prop("KmsKeyArn")
665665
Layers: Optional[Layers] = prop("Layers")

samtranslator/internal/schema_source/common.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,3 @@ class ResourceAttributes(BaseModel):
9999
Metadata: Optional[PassThroughProp]
100100
UpdateReplacePolicy: Optional[PassThroughProp]
101101
Condition: Optional[PassThroughProp]
102-
IgnoreGlobals: Optional[Union[str, List[str]]]

samtranslator/model/connector_profiles/profiles.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -790,23 +790,6 @@
790790
}
791791
}
792792
}
793-
},
794-
"AWS::Events::EventBus": {
795-
"Type": "AWS_IAM_ROLE_MANAGED_POLICY",
796-
"Properties": {
797-
"SourcePolicy": true,
798-
"AccessCategories": {
799-
"Write": {
800-
"Statement": [
801-
{
802-
"Effect": "Allow",
803-
"Action": ["events:PutEvents"],
804-
"Resource": ["%{Destination.Arn}"]
805-
}
806-
]
807-
}
808-
}
809-
}
810793
}
811794
},
812795
"AWS::AppSync::GraphQLApi": {

samtranslator/model/eventsources/push.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,11 +1116,8 @@ def add_auth_to_swagger( # noqa: PLR0912, PLR0913
11161116
)
11171117

11181118
auth_scopes = event_auth.get("AuthorizationScopes")
1119-
11201119
if auth_scopes:
11211120
sam_expect(auth_scopes, event_id, "Auth.AuthorizationScopes", is_sam_event=True).to_be_a_list()
1122-
if not method_authorizer:
1123-
raise InvalidEventException(event_id, "AuthorizationScopes works only when Authorizer is set")
11241121

11251122
apikey_required_setting = event_auth.get("ApiKeyRequired")
11261123
apikey_required_setting_is_false = apikey_required_setting is not None and not apikey_required_setting

0 commit comments

Comments
 (0)