Skip to content

Commit

Permalink
Patches needed for spec 188.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
markpeek committed Jan 14, 2025
1 parent 36abdf0 commit f7e3e1d
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 1 deletion.
15 changes: 14 additions & 1 deletion scripts/patches/batch.py
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
patches = []
patches = [
# backward compatibility
{
"op": "move",
"from": "/PropertyTypes/AWS::Batch::JobDefinition.JobTimeout",
"path": "/PropertyTypes/AWS::Batch::JobDefinition.Timeout",
},
# backward compatibility
{
"op": "replace",
"path": "/ResourceTypes/AWS::Batch::JobDefinition/Properties/Timeout/Type",
"value": "Timeout",
},
]
14 changes: 14 additions & 0 deletions scripts/patches/bedrock.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
patches = [
{
"op": "remove",
"path": "/PropertyTypes/AWS::Bedrock::Flow.PromptTemplateConfiguration",
},
{
"op": "remove",
"path": "/PropertyTypes/AWS::Bedrock::FlowVersion.PromptTemplateConfiguration",
},
{
"op": "remove",
"path": "/PropertyTypes/AWS::Bedrock::PromptVersion.PromptTemplateConfiguration",
},
]
17 changes: 17 additions & 0 deletions scripts/patches/qbusiness.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
patches = [
{
"op": "replace",
"path": "/PropertyTypes/AWS::QBusiness::DataAccessor.AttributeFilter/Properties/AndAllFilters/ItemType",
"value": "object",
},
{
"op": "replace",
"path": "/PropertyTypes/AWS::QBusiness::DataAccessor.AttributeFilter/Properties/NotFilter/Type",
"value": "object",
},
{
"op": "replace",
"path": "/PropertyTypes/AWS::QBusiness::DataAccessor.AttributeFilter/Properties/OrAllFilters/ItemType",
"value": "object",
},
]
4 changes: 4 additions & 0 deletions scripts/patches/quicksight.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,8 @@
"op": "remove",
"path": "/PropertyTypes/AWS::QuickSight::Dashboard.DashboardVersion",
},
{
"op": "remove",
"path": "/PropertyTypes/AWS::QuickSight::Template.Visual",
},
]

0 comments on commit f7e3e1d

Please # to comment.