patches = [
    # Rename AWS::SageMaker::Device.Device to AWS::SageMaker::Device.DeviceProperty
    {
        "op": "move",
        "from": "/PropertyTypes/AWS::SageMaker::Device.Device",
        "path": "/PropertyTypes/AWS::SageMaker::Device.DeviceProperty",
    },
    {
        "op": "replace",
        "path": "/ResourceTypes/AWS::SageMaker::Device/Properties/Device/Type",
        "value": "DeviceProperty",
    },
    # Rename AWS::SageMaker::ModelBiasJobDefinition.EndpointInput to AWS::SageMaker::ModelBiasJobDefinition.ModelBiasEndpointInput
    {
        "op": "move",
        "from": "/PropertyTypes/AWS::SageMaker::ModelBiasJobDefinition.EndpointInput",
        "path": "/PropertyTypes/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasEndpointInput",
    },
    {
        "op": "replace",
        "path": "/PropertyTypes/AWS::SageMaker::ModelBiasJobDefinition.ModelBiasJobInput/Properties/EndpointInput/Type",
        "value": "ModelBiasEndpointInput",
    },
    # Rename AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput to AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityEndpointInput
    {
        "op": "move",
        "from": "/PropertyTypes/AWS::SageMaker::ModelExplainabilityJobDefinition.EndpointInput",
        "path": "/PropertyTypes/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityEndpointInput",
    },
    {
        "op": "replace",
        "path": "/PropertyTypes/AWS::SageMaker::ModelExplainabilityJobDefinition.ModelExplainabilityJobInput/Properties/EndpointInput/Type",
        "value": "ModelExplainabilityEndpointInput",
    },
    # Rename AWS::SageMaker::ModelQualityJobDefinition.EndpointInput to AWS::SageMaker::ModelQualityJobDefinition.ModelQualityEndpointInput
    {
        "op": "move",
        "from": "/PropertyTypes/AWS::SageMaker::ModelQualityJobDefinition.EndpointInput",
        "path": "/PropertyTypes/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityEndpointInput",
    },
    {
        "op": "replace",
        "path": "/PropertyTypes/AWS::SageMaker::ModelQualityJobDefinition.ModelQualityJobInput/Properties/EndpointInput/Type",
        "value": "ModelQualityEndpointInput",
    },
]

@@ -2183,10 +2183,1013 @@
 %0A    %7D,%0A
+    # CreatedBy, LastModifiedBy, and Tag are documented as %22Not currently supported by AWS CloudFormation.%22%0A    %7B%0A        %22op%22: %22remove%22,%0A        %22path%22: %22/ResourceTypes/AWS::SageMaker::ModelPackage/Properties/CreatedBy%22,%0A    %7D,%0A    %7B%0A        %22op%22: %22remove%22,%0A        %22path%22: %22/ResourceTypes/AWS::SageMaker::ModelPackage/Properties/LastModifiedBy%22,%0A    %7D,%0A    %7B%0A        %22op%22: %22remove%22,%0A        %22path%22: %22/ResourceTypes/AWS::SageMaker::ModelPackage/Properties/Tag%22,%0A    %7D,%0A    %7B%0A        %22op%22: %22remove%22,%0A        %22path%22: %22/PropertyTypes/AWS::SageMaker::ModelPackage.ModelPackageContainerDefinition/Properties/Environment/Type%22,%0A    %7D,%0A    %7B%0A        %22op%22: %22add%22,%0A        %22path%22: %22/PropertyTypes/AWS::SageMaker::ModelPackage.ModelPackageContainerDefinition/Properties/Environment/PrimitiveType%22,%0A        %22value%22: %22Json%22,%0A    %7D,%0A    %7B%0A        %22op%22: %22add%22,%0A        %22path%22: %22/PropertyTypes/AWS::SageMaker::ModelPackage.TransformJobDefinition/Properties/Environment/PrimitiveType%22,%0A        %22value%22: %22Json%22,%0A    %7D,%0A
 %5D%0A

Fix issues with recent changes to SageMaker spec files (72.1.0)