// Generated by orrery. Edit the diagram spec and re-render instead of editing this file.
import { type SVGProps, useId } from "react";

export default function EventDrivenOrderProcessingOnAWS(props: SVGProps<SVGSVGElement>) {
  const uid = useId().replace(/[^A-Za-z0-9_-]/g, "");
  return (
    <svg xmlns="http://www.w3.org/2000/svg" xmlnsXlink="http://www.w3.org/1999/xlink" width="966" height="1389" viewBox="0 0 966 1389" role="img" aria-labelledby={`${uid}-sdw-title ${uid}-sdw-desc`} fontFamily="Inter, 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif" {...props}>
      <title id={`${uid}-sdw-title`}>
        Event-driven order processing on AWS
      </title>
      <desc id={`${uid}-sdw-desc`}>
        Event-driven order processing on AWS. 12 components in 3 groups. Connections: Customers to Amazon API Gateway (HTTPS); Amazon API Gateway to Orders event bus (OrderPlaced); Orders event bus to AWS Step Functions workflow (fulfillment rule); AWS Lambda to AWS Lambda; AWS Lambda to AWS Lambda; AWS Step Functions workflow to Orders table (order status); Orders event bus to Billing queue (billing rule); Billing queue to AWS Lambda; Orders event bus to Order notifications (notification rule); Order notifications to Email subscription; Order notifications to Analytics queue.
      </desc>
      <defs>
        <symbol id={`${uid}-s1`} viewBox="0 0 40 40" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="40" height="40" fill="#242f3e" />
            <path fill="#fff" d="M32.698 23.9c.361.47-.4 2.4-.74 3.264-.105.262.117.365.35.168 1.512-1.284 1.904-3.975 1.593-4.363-.307-.386-2.95-.717-4.563.432-.249.177-.206.42.07.389.907-.112 2.93-.357 3.29.11m-.842 2.01c.518-.378.074-.941-.454-.72-3.513 1.464-7.327 2.173-10.8 2.173-5.143 0-10.127-1.39-14.156-3.695-.352-.202-.613.155-.319.414 3.733 3.316 8.67 5.309 14.147 5.309 3.91 0 8.451-1.208 11.582-3.481m-2.144-5.215a6.6 6.6 0 0 1-1.459-.161q-.714-.163-1.093-.373-.233-.128-.29-.258a.7.7 0 0 1-.059-.26v-.47q0-.29.216-.292.083.002.173.033.091.034.241.098.48.21 1.044.324.564.113 1.126.113.895 0 1.384-.308a.97.97 0 0 0 .49-.873.88.88 0 0 0-.258-.65q-.256-.258-.952-.484l-1.375-.421q-1.045-.325-1.517-.938a2.17 2.17 0 0 1-.472-1.347q0-.581.258-1.027.255-.445.676-.761.427-.314.99-.478a4.3 4.3 0 0 1 1.19-.162q.315 0 .64.04a6.3 6.3 0 0 1 1.15.252q.248.082.4.162a.9.9 0 0 1 .28.227.5.5 0 0 1 .083.308v.436q0 .291-.217.29-.114.002-.364-.111c-.54-.24-1.15-.356-1.82-.356q-.815 0-1.262.258-.448.26-.448.827 0 .388.283.655.281.267 1.044.51l1.342.423q1.028.322 1.466.888.441.568.441 1.295 0 .6-.25 1.078-.248.477-.689.817a3.1 3.1 0 0 1-1.05.518q-.615.179-1.343.178m-12.165-.244q-.248.002-.365-.087-.117-.09-.199-.365l-2.222-7.157a1.8 1.8 0 0 1-.082-.371q0-.227.233-.227h.927q.265 0 .374.09.106.086.19.364l1.59 6.12 1.477-6.12q.066-.278.181-.364.116-.09.38-.09h.765q.263 0 .38.09.116.086.182.364l1.493 6.2 1.64-6.2q.082-.278.19-.364.109-.09.373-.09h.878q.233 0 .233.227a1 1 0 0 1-.016.144 2 2 0 0 1-.068.227l-2.286 7.157q-.083.275-.2.365-.116.088-.364.087h-.813q-.264.001-.38-.094-.116-.099-.182-.373l-1.476-5.96-1.457 5.96q-.067.274-.183.373-.116.095-.38.094zM9.94 19.449q.465 0 .98-.17.513-.17.893-.592.232-.259.324-.591.09-.33.09-.801v-.388a8 8 0 0 0-1.757-.211q-.945 0-1.408.373-.464.37-.465 1.07 0 .645.35.978.347.332.993.332m3.846-1.408q0 .517.107.825.11.31.307.664a.4.4 0 0 1 .066.209q0 .148-.182.276l-.597.39a.5.5 0 0 1-.248.08.4.4 0 0 1-.282-.128 2 2 0 0 1-.339-.43 6 6 0 0 1-.29-.544q-1.112 1.28-2.785 1.28-1.194.001-1.89-.664-.696-.664-.696-1.78 0-1.182.863-1.903.86-.72 2.32-.721.48 0 1.002.073t1.084.203v-.68q.001-1.052-.446-1.482-.446-.428-1.54-.428a4.5 4.5 0 0 0-1.02.12 7.5 7.5 0 0 0-1.02.315 3 3 0 0 1-.33.122.7.7 0 0 1-.15.024q-.199.001-.2-.292v-.452q.001-.228.068-.323.066-.099.265-.195a6 6 0 0 1 1.192-.421 6 6 0 0 1 1.476-.18c1.126 0 1.952.254 2.477.754q.787.753.788 2.275z" />
          </g>
        </symbol>
        <symbol id={`${uid}-s2`} viewBox="0 0 40 40" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="40" height="40" fill="#00a4a6" />
            <path fill="#fff" d="M14 20.026v-9h15.293l-4.147 4.146a.5.5 0 0 0 0 .708l4.147 4.146zm12.207-4.5 4.647-4.646a.5.5 0 0 0-.354-.854H14V8.97A1.528 1.528 0 0 0 13.495 6c-.845 0-1.532.687-1.532 1.531 0 .67.435 1.235 1.037 1.442v24.053h-3v1h7v-1h-3v-12h16.5a.5.5 0 0 0 .354-.854z" />
          </g>
        </symbol>
        <symbol id={`${uid}-s3`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#e7157b" />
            <path fill="#fff" d="M45 44h21v-7H45zm22-9H44a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h23a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1M43.5 62.5c0 1.93-1.57 3.5-3.5 3.5s-3.5-1.57-3.5-3.5S38.07 59 40 59s3.5 1.57 3.5 3.5M14 47h18v-4H14zm0-10h18v-4H14zm22.5-19.5c0-1.93 1.57-3.5 3.5-3.5s3.5 1.57 3.5 3.5S41.93 21 40 21s-3.5-1.57-3.5-3.5M56 53H24v-4h9a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1h-9v-2h9a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1h-9v-3h32v4h2v-5a1 1 0 0 0-1-1H41v-3.096c2.556-.472 4.5-2.713 4.5-5.404 0-3.033-2.468-5.5-5.5-5.5a5.506 5.506 0 0 0-5.5 5.5c0 2.691 1.944 4.932 4.5 5.404V26H23a1 1 0 0 0-1 1v4h-9a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h9v2h-9a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h9v5a1 1 0 0 0 1 1h16v2.096c-2.556.472-4.5 2.713-4.5 5.404 0 3.033 2.468 5.5 5.5 5.5s5.5-2.467 5.5-5.5c0-2.691-1.944-4.932-4.5-5.404V55h16a1 1 0 0 0 1-1v-4.973h-2z" />
          </g>
        </symbol>
        <symbol id={`${uid}-s4`} viewBox="0 0 48 48" overflow="visible">
          <path fill="#242f3e" fillRule="evenodd" d="M28.639 9.286c0-2.915 2.413-5.286 5.38-5.286s5.378 2.371 5.378 5.286-2.412 5.286-5.378 5.286-5.38-2.371-5.38-5.286m11.524 7.048a11.7 11.7 0 0 0-2.035-1.001c1.97-1.31 3.269-3.531 3.269-6.047 0-4.017-3.31-7.286-7.378-7.286-4.069 0-7.38 3.269-7.38 7.286 0 2.51 1.293 4.728 3.256 6.039a11.9 11.9 0 0 0-3.546 2.1l1.303 1.518A9.77 9.77 0 0 1 34 16.572c1.802 0 3.569.505 5.109 1.461 2.74 1.702 4.538 4.692 4.844 7.967H34v2h11a1 1 0 0 0 1-1c0-4.343-2.236-8.43-5.837-10.666M8.639 9.286C8.639 6.371 11.052 4 14.019 4s5.378 2.371 5.378 5.286-2.412 5.286-5.378 5.286-5.38-2.371-5.38-5.286M14 26H4.046C4.53 20.717 8.81 16.572 14 16.572c1.802 0 3.569.505 5.109 1.461.432.269.849.575 1.24.91l1.303-1.517a11.7 11.7 0 0 0-3.524-2.093c1.97-1.31 3.269-3.531 3.269-6.047 0-4.017-3.31-7.286-7.378-7.286-4.069 0-7.38 3.269-7.38 7.286 0 2.515 1.298 4.737 3.268 6.046C5.302 17.071 2 21.638 2 27a1 1 0 0 0 1 1h11zm.046 18c.484-5.283 4.764-9.428 9.954-9.428 1.802 0 3.569.505 5.109 1.461 2.74 1.702 4.538 4.692 4.844 7.967zm4.593-16.714c0-2.915 2.413-5.286 5.38-5.286s5.378 2.371 5.378 5.286-2.412 5.286-5.378 5.286-5.38-2.371-5.38-5.286m11.524 7.048a11.7 11.7 0 0 0-2.035-1.001c1.97-1.31 3.269-3.531 3.269-6.047 0-4.017-3.31-7.286-7.378-7.286-4.069 0-7.38 3.269-7.38 7.286 0 2.515 1.298 4.737 3.268 6.046C15.302 35.071 12 39.638 12 45a1 1 0 0 0 1 1h22a1 1 0 0 0 1-1c0-4.343-2.236-8.43-5.837-10.666" />
        </symbol>
        <symbol id={`${uid}-s5`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none">
            <rect width="80" height="80" fill="#8c4fff" />
            <path fill="#fff" fillRule="evenodd" d="M34.065 55.632H37v-2.017h-2.935zm4.935 0h3v-2.017h-3zM27 14.63l-13 6.452v40.111l13 4.397zm2 12.763v26.222h3v2.017h-3v11.36c0 .324-.155.629-.416.818a1 1 0 0 1-.902.138l-15-5.072A1.01 1.01 0 0 1 12 61.92V20.454c0-.384.217-.736.559-.905l15-7.445a.99.99 0 0 1 .969.049c.293.183.472.507.472.856v12.367h3v2.017zm15 28.24h3v-2.018h-3zm.065-28.24H47v-2.017h-2.935zm-5 0H42v-2.017h-2.935zm-5 0H37v-2.017h-2.935zM66 21.083 53 14.63v50.96l13-4.397zm2 40.837c0 .432-.274.817-.682.956l-15 5.072a.99.99 0 0 1-.902-.138 1.01 1.01 0 0 1-.416-.819V55.633h-1.935v-2.017H51V27.393h-1.935v-2.017H51V13.01c0-.35.179-.673.472-.857a.99.99 0 0 1 .969-.048l15 7.445c.342.17.559.521.559.905zM42.934 33.807l-1.868-.724-5 13.11 1.868.725zm6.773 6.402a1.014 1.014 0 0 0 0-1.426l-4-4.034-1.414 1.426 3.293 3.32-3.293 3.322 1.414 1.426zm-15.414 4.034-4-4.034a1.014 1.014 0 0 1 0-1.426l4-4.034 1.414 1.426-3.293 3.32 3.293 3.322z" clipRule="evenodd" />
          </g>
        </symbol>
        <symbol id={`${uid}-s6`} viewBox="0 0 48 48" overflow="visible">
          <path fill="#e7157b" fillRule="evenodd" d="m43.717 22.782-1.284-1.549-1.104.914 1.284 1.55zm-16.87 13.986-1.284-1.548-2.51 2.08-.478 1.703 1.762-.154zm.255-2.826 1.285 1.55 12.687-10.519-1.284-1.548zm18.662-10.259L25.373 40.588a1 1 0 0 1-.552.226l-3.512.307a1.002 1.002 0 0 1-1.05-1.266l.952-3.395a1 1 0 0 1 .324-.5l20.391-16.905a1 1 0 0 1 1.408.131l2.561 3.089a1 1 0 0 1-.131 1.408M31.1 6.91l-1.84-.785-2.587 6.065 1.84.785zm7.98 6.76-1.201-1.6-5.307 3.984 1.202 1.6zM13.466 43.154l1.84.785 2.587-6.065-1.84-.785zm-7.98-6.76 1.201 1.6 5.306-3.984-1.201-1.6zm3.118-10.639L2 26.591l.252 1.984 6.604-.836zm1.477-6.854L3.95 16.364l-.765 1.848 6.131 2.537zm4.751-5.213-4.015-5.229-1.586 1.219 4.015 5.229zm6.749-2.167L20.756 5l-1.984.252.825 6.521zM16.71 33.125l-4.707-8.153a1 1 0 0 1 0-1l4.707-8.152c.179-.309.509-.5.866-.5h9.413c.358 0 .688.191.867.5l4.707 8.152-1.733 1-4.418-7.652h-8.258l-4.13 7.152 4.13 7.153h3.879v2h-4.457c-.357 0-.687-.191-.866-.5" />
        </symbol>
        <symbol id={`${uid}-s7`} viewBox="0 0 80 80" overflow="visible">
          <g fill="none" fillRule="evenodd">
            <rect width="80" height="80" fill="#ed7100" />
            <path fill="#fff" d="M28.008 66H15.59l13.733-28.704 6.222 12.81zm2.212-31.447a1 1 0 0 0-.902-.564h-.003a1 1 0 0 0-.903.569L13.098 66.569A1 1 0 0 0 14.002 68h14.64c.388 0 .74-.223.906-.572l8.016-16.9a1 1 0 0 0-.005-.863zM64.995 66H52.66L32.867 24.57a1 1 0 0 0-.905-.57H23.89l.009-10h15.82L59.42 55.429c.166.348.519.571.906.571h4.67zm1.003-12H60.96l-19.7-41.429a1 1 0 0 0-.907-.571H22.898c-.553 0-1.002.447-1.003.999l-.01 12A1 1 0 0 0 22.886 26h8.442l19.793 41.43c.167.348.517.57.904.57h13.972A1 1 0 0 0 67 67V55a1 1 0 0 0-1.002-1" />
          </g>
        </symbol>
        <symbol id={`${uid}-s8`} viewBox="0 0 48 48" overflow="visible">
          <path fill="#c925d1" fillRule="evenodd" d="M13.355 11.862h32.573V2H13.355zm2-2h28.572V4.001H15.355zM2 11.862h9.861V2H2zm2-2h5.862V4.001H4zm9.355 13.355h32.573v-9.861H13.355zm2-2h28.572v-5.861H15.355zM2 23.217h9.861v-9.861H2zm2-2h5.862v-5.861H4zm9.355 13.355h32.573v-9.861H13.355zm2-2h28.572V26.71H15.355zM2 34.572h9.861v-9.861H2zm2-2h5.862V26.71H4zm9.355 13.355h32.573v-9.861H13.355zm2-1.999h28.572v-5.862H15.355zM2 45.927h9.861v-9.861H2zm2-1.999h5.862v-5.862H4z" />
        </symbol>
        <symbol id={`${uid}-s9`} viewBox="0 0 48 48" overflow="visible">
          <path fill="#e7157b" fillRule="evenodd" d="M37.449 22.261v3.96l-2.423-2.014zm.361 6.86a1 1 0 0 0 1.639-.769v-8.176a1 1 0 0 0-1.626-.779l-5.004 4.017a1.002 1.002 0 0 0-.013 1.549zm-27.283-6.814 2.424 2.015-2.424 1.945zm-1.432 6.946a1 1 0 0 0 1.058-.121l5.005-4.017a1.002 1.002 0 0 0 .013-1.549l-5.005-4.159a1.001 1.001 0 0 0-1.639.769v8.176c0 .385.221.735.568.901m19.273 4.774h2v-19.28h-2zm-5.247 0h2v-19.28h-2zm-5.41 0h2v-19.28h-2zM3.999 35.773h39.978V13.001H3.999zM44.977 11H3a1 1 0 0 0-1 1v24.773a1 1 0 0 0 1 1h41.977a1 1 0 0 0 1-1V12a1 1 0 0 0-1-1" />
        </symbol>
        <symbol id={`${uid}-s10`} viewBox="0 0 48 48" overflow="visible">
          <path fill="#e7157b" fillRule="evenodd" d="M44 38.5h2v-2h-2zm2-5.5v1.5h-2V34h-.5v-2H45a1 1 0 0 1 1 1m-32.5 1h3v-2h-3zm24 0h3v-2h-3zm-18 0h3v-2h-3zm-12 0h3v-2h-3zm24 0h3v-2h-3zm-6 0h3v-2h-3zM3 32h1.5v2H4v.5H2V33a1 1 0 0 1 1-1m-1 6.5h2v-2H2zM4 41h.5v2H3a1 1 0 0 1-1-1v-1.5h2zm15.5 2h3v-2h-3zm12 0h3v-2h-3zm6 0h3v-2h-3zm-30 0h3v-2h-3zm18 0h3v-2h-3zm-12 0h3v-2h-3zM44 40.5h2V42a1 1 0 0 1-1 1h-1.5v-2h.5zm0-15h2v-2h-2zm2-5.5v1.5h-2V21h-.5v-2H45a1 1 0 0 1 1 1m-14.5 1h3v-2h-3zm-24 0h3v-2h-3zm30 0h3v-2h-3zm-24 0h3v-2h-3zm6 0h3v-2h-3zm6 0h3v-2h-3zM3 19h1.5v2H4v.5H2V20a1 1 0 0 1 1-1m-1 6.5h2v-2H2zM4 28h.5v2H3a1 1 0 0 1-1-1v-1.5h2zm15.5 2h3v-2h-3zm12 0h3v-2h-3zm-24 0h3v-2h-3zm6 0h3v-2h-3zm24 0h3v-2h-3zm-12 0h3v-2h-3zM44 27.5h2V29a1 1 0 0 1-1 1h-1.5v-2h.5zM4 15h40V7H4zM45 5H3a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h42a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1" />
        </symbol>
        <symbol id={`${uid}-s11`} viewBox="0 0 48 48" overflow="visible">
          <path fill="#e7157b" fillRule="evenodd" d="M28.194 17v-5.891h-.943l-1.896 3.613-1.904-3.613h-.969V17h.799v-4.641l1.666 3.136h.791l1.657-3.128V17zm2.439-2.219h1.981l-.994-2.889zm-.22.655L29.885 17h-.892l2.176-5.891h.935L34.28 17h-.901l-.544-1.564zm-9.035-3.629v-.698h-3.664V17h3.664v-.697h-2.797v-1.989h2.345v-.697h-2.345v-1.81zM35.113 17h.867v-5.891h-.867zm2.329-5.891V17h3.647v-.714h-2.78v-5.177zM4 8c0 2.206 1.794 4 4 4s4-1.794 4-4-1.794-4-4-4-4 1.794-4 4M2 8c0-3.309 2.691-6 6-6 3.308 0 6 2.691 6 6s-2.692 6-6 6c-3.309 0-6-2.691-6-6m42 33.5h2v-2h-2zm1-6.5h-1.5v2h.5v.5h2V36a1 1 0 0 0-1-1m-13.5 2h3v-2h-3zm-6 0h3v-2h-3zm12 0h3v-2h-3zm-24 0h3v-2h-3zm6 0h3v-2h-3zm-12 0h3v-2h-3zM2 36v1.5h2V37h.5v-2H3a1 1 0 0 0-1 1m0 5.5h2v-2H2zm2 2H2V45a1 1 0 0 0 1 1h1.5v-2H4zM37.5 46h3v-2h-3zm-12 0h3v-2h-3zm-12 0h3v-2h-3zm-6 0h3v-2h-3zm24 0h3v-2h-3zm-12 0h3v-2h-3zM44 44h-.5v2H45a1 1 0 0 0 1-1v-1.5h-2zm0-15.5h2v-2h-2zm1-6.5h-1.5v2h.5v.5h2V23a1 1 0 0 0-1-1m-13.5 2h3v-2h-3zm-12 0h3v-2h-3zm-12 0h3v-2h-3zm18 0h3v-2h-3zm-12 0h3v-2h-3zm24 0h3v-2h-3zM2 23v1.5h2V24h.5v-2H3a1 1 0 0 0-1 1m0 5.5h2v-2H2zm2 2H2V32a1 1 0 0 0 1 1h1.5v-2H4zM7.5 33h3v-2h-3zm12 0h3v-2h-3zm-6 0h3v-2h-3zm24 0h3v-2h-3zm-6 0h3v-2h-3zm-6 0h3v-2h-3zM44 31h-.5v2H45a1 1 0 0 0 1-1v-1.5h-2zm2-22v10a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-4h2v3h40v-8H16V8h29a1 1 0 0 1 1 1" />
        </symbol>
      </defs>
      <rect width="966" height="1389" fill="#ffffff" />
      <text fontSize="20" fontWeight="600" fill="#000000">
        <tspan x="28" y="43.78">
          Event-driven order processing on AWS
        </tspan>
      </text>
      <text fontSize="13" fill="#5f6b7a">
        <tspan x="28" y="66.18">
          One Amazon EventBridge bus fans order events out to an AWS Step Functions workflow, an Amazon SQS billing queue and an Amazon SNS topic
        </tspan>
      </text>
      <g id={`${uid}-g-cloud`}>
        <rect x="28" y="347" width="910" height="949" fill="none" stroke="#232f3e" strokeWidth="1.67" />
      </g>
      <g id={`${uid}-g-region`}>
        <rect x="48" y="405" width="870" height="871" fill="none" stroke="#00a4a6" strokeWidth="1.67" strokeDasharray="5 1.67" />
      </g>
      <g id={`${uid}-g-workflow`}>
        <rect x="68" y="738" width="385" height="182" fill="none" stroke="#e7157b" strokeWidth="1.67" />
      </g>
      <g id={`${uid}-e-e1`}>
        <path d="M341 183 L341 462.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M336.5 454 L341 463 L345.5 454" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e2`}>
        <path d="M372.5 495 L515.25 495" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M507 499.5 L516 495 L507 490.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e3`}>
        <path d="M534 567 L534 738 Q534 746 526 746 L453.75 746" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M462 741.5 L453 746 L462 750.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e4`}>
        <path d="M162 828 L224.75 828" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M216.5 832.5 L225.5 828 L216.5 823.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e5`}>
        <path d="M289.5 828 L355.25 828" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M347 832.5 L356 828 L347 823.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e6`}>
        <path d="M261 920 L261 1151.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" />
        <path d="M256.5 1143 L261 1152 L265.5 1143" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e7`}>
        <path d="M548 567 L548 776.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="6 4" />
        <path d="M543.5 768 L548 777 L552.5 768" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e8`}>
        <path d="M548 881 L548 983.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="6 4" />
        <path d="M543.5 975 L548 984 L552.5 975" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e9`}>
        <path d="M580 495 L691.5 495 Q699.5 495 699.5 503 L699.5 776.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="6 4" />
        <path d="M695 768 L699.5 777 L704 768" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e10`}>
        <path d="M693 881 L693 991.75" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="6 4" />
        <path d="M688.5 983.5 L693 992.5 L697.5 983.5" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-e-e11`}>
        <path d="M731.5 809 L835.5 809 Q843.5 809 843.5 817 L843.5 983.25" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinejoin="round" strokeDasharray="6 4" />
        <path d="M839 975 L843.5 984 L848 975" fill="none" stroke="#545b64" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
      </g>
      <g id={`${uid}-el-e1`}>
        <rect x="346" y="247" width="51" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="371.5" y="261.68">
            HTTPS
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e2`}>
        <rect x="403.75" y="471" width="81" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="444.25" y="485.68">
            OrderPlaced
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e3`}>
        <rect x="438" y="646" width="90" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="483" y="660.68">
            fulfillment rule
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e6`}>
        <rect x="266" y="1025.5" width="78" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="305" y="1040.18">
            order status
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e7`}>
        <rect x="553" y="653" width="68" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="587" y="667.68">
            billing rule
          </tspan>
        </text>
      </g>
      <g id={`${uid}-el-e9`}>
        <rect x="705.5" y="625.5" width="97" height="21" rx="4" fill="#ffffff" fillOpacity="0.92" />
        <text fontSize="11.5" fill="#000000" textAnchor="middle">
          <tspan x="754" y="640.18">
            notification rule
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-cloud`}>
        <rect x="72" y="357.55" width="79.42" height="18.9" rx="3" fill="#ffffff" />
        <use href={`#${uid}-s1`} x="28" y="347" width="40" height="40" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="76" y="371.73">
            AWS Cloud
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-region`}>
        <rect x="92" y="415.55" width="67.58" height="18.9" rx="3" fill="#ffffff" />
        <use href={`#${uid}-s2`} x="48" y="405" width="40" height="40" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="96" y="429.73">
            us-east-1
          </tspan>
        </text>
      </g>
      <g id={`${uid}-gh-workflow`}>
        <rect x="112" y="748.55" width="198.65" height="18.9" rx="3" fill="#ffffff" />
        <use href={`#${uid}-s3`} x="68" y="738" width="40" height="40" />
        <text fontSize="13" fontWeight="600" fill="#000000">
          <tspan x="116" y="762.73">
            AWS Step Functions workflow
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-customers`}>
        <use href={`#${uid}-s4`} x="308.5" y="96" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="340.5" y="179.18">
            Customers
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-api`}>
        <use href={`#${uid}-s5`} x="308.5" y="463" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="340.5" y="546.18">
            Amazon API
          </tspan>
          <tspan x="340.5" y="563.08">
            Gateway
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="340.5" y="580.48">
            POST /orders
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-bus`}>
        <use href={`#${uid}-s6`} x="516" y="463" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="548.01" y="546.18">
            Orders event bus
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="548.01" y="563.58">
            Amazon EventBridge
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-reserve`}>
        <use href={`#${uid}-s7`} x="98" y="796" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="130" y="879.18">
            AWS Lambda
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="130" y="896.58">
            Reserve stock
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-charge`}>
        <use href={`#${uid}-s7`} x="225.5" y="796" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="257.5" y="879.18">
            AWS Lambda
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="257.5" y="896.58">
            Charge payment
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-ship`}>
        <use href={`#${uid}-s7`} x="356" y="796" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="388" y="879.18">
            AWS Lambda
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="387.99" y="896.58">
            Create shipment
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-table`}>
        <use href={`#${uid}-s8`} x="228.5" y="1152" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="260.51" y="1235.18">
            Orders table
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="260.51" y="1252.58">
            Amazon DynamoDB
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-billing`}>
        <use href={`#${uid}-s9`} x="515.5" y="777" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="547.5" y="860.18">
            Billing queue
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="547.5" y="877.58">
            Amazon SQS queue
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-invoice`}>
        <use href={`#${uid}-s7`} x="516" y="984" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="548" y="1067.18">
            AWS Lambda
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="548" y="1084.58">
            Invoice generator
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-notices`}>
        <use href={`#${uid}-s10`} x="667.5" y="777" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="699.51" y="860.18">
            Order notifications
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="699.51" y="877.58">
            Amazon SNS topic
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-email`}>
        <use href={`#${uid}-s11`} x="660.5" y="992.5" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="692.49" y="1075.68">
            Email subscription
          </tspan>
        </text>
      </g>
      <g id={`${uid}-n-analytics`}>
        <use href={`#${uid}-s9`} x="811.5" y="984" width="64" height="64" />
        <text fontSize="13" fill="#000000" textAnchor="middle">
          <tspan x="843.5" y="1067.18">
            Analytics queue
          </tspan>
        </text>
        <text fontSize="11.5" fill="#5f6b7a" textAnchor="middle">
          <tspan x="843.5" y="1084.58">
            Amazon SQS queue
          </tspan>
        </text>
      </g>
      <g id={`${uid}-legend`}>
        <rect x="695" y="1308" width="243" height="53" rx="6" fill="#ffffff" stroke="#c6ccd4" strokeWidth="1" />
        <path d="M705 1325.5 H733" fill="none" stroke="#545b64" strokeWidth="1.5" />
        <text fontSize="11.5" fill="#000000">
          <tspan x="741" y="1329.68">
            Order path
          </tspan>
        </text>
        <path d="M705 1343.5 H733" fill="none" stroke="#545b64" strokeWidth="1.5" strokeDasharray="6 4" />
        <text fontSize="11.5" fill="#000000">
          <tspan x="741" y="1347.68">
            Other rule targets and subscribers
          </tspan>
        </text>
      </g>
    </svg>
  );
}
