{
  "typeName" : "AWS::Pinpoint::ApplicationSettings",
  "description" : "Resource Type definition for AWS::Pinpoint::ApplicationSettings",
  "additionalProperties" : false,
  "properties" : {
    "QuietTime" : {
      "$ref" : "#/definitions/QuietTime"
    },
    "Limits" : {
      "$ref" : "#/definitions/Limits"
    },
    "Id" : {
      "type" : "string"
    },
    "ApplicationId" : {
      "type" : "string"
    },
    "CampaignHook" : {
      "$ref" : "#/definitions/CampaignHook"
    },
    "CloudWatchMetricsEnabled" : {
      "type" : "boolean"
    }
  },
  "definitions" : {
    "QuietTime" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Start" : {
          "type" : "string"
        },
        "End" : {
          "type" : "string"
        }
      },
      "required" : [ "Start", "End" ]
    },
    "Limits" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "MessagesPerSecond" : {
          "type" : "integer"
        },
        "Daily" : {
          "type" : "integer"
        },
        "MaximumDuration" : {
          "type" : "integer"
        },
        "Total" : {
          "type" : "integer"
        }
      }
    },
    "CampaignHook" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "WebUrl" : {
          "type" : "string"
        },
        "LambdaFunctionName" : {
          "type" : "string"
        },
        "Mode" : {
          "type" : "string"
        }
      }
    }
  },
  "required" : [ "ApplicationId" ],
  "createOnlyProperties" : [ "/properties/ApplicationId" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id" ]
}