0s autopkgtest [10:40:26]: starting date and time: 2025-11-17 10:40:26+0000 0s autopkgtest [10:40:26]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [10:40:26]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.s2u6m4i0/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-botocore,src:python3-defaults --apt-upgrade python-moto --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python-botocore/1.40.68+repack-1 python3-defaults/3.13.7-2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@sto01-1.secgroup --name adt-resolute-amd64-python-moto-20251117-104025-juju-7f2275-prod-proposed-migration-environment-2-79f48742-3b8b-47c9-ac1e-82e0fbc17d13 --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-amd64-python-moto-20251117-104025-juju-7f2275-prod-proposed-migration-environment-2-79f48742-3b8b-47c9-ac1e-82e0fbc17d13 from image adt/ubuntu-resolute-amd64-server-20251117.img (UUID 9762b0cc-7c5b-4854-acd5-cc74ad0de8c6)... 48s autopkgtest [10:41:14]: testbed dpkg architecture: amd64 48s autopkgtest [10:41:14]: testbed apt version: 3.1.11 49s autopkgtest [10:41:15]: @@@@@@@@@@@@@@@@@@@@ test bed setup 49s autopkgtest [10:41:15]: testbed release detected to be: None 49s autopkgtest [10:41:15]: updating testbed package index (apt update) 50s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 50s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 50s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 50s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 50s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 50s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [80.3 kB] 50s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [881 kB] 50s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9848 B] 50s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [158 kB] 50s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [118 kB] 50s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [3128 B] 50s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [64.6 kB] 50s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3744 B] 50s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 50s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [614 kB] 50s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [282 kB] 50s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [22.2 kB] 50s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [6516 B] 50s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [13.4 kB] 50s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [680 B] 52s Fetched 2367 kB in 1s (2567 kB/s) 53s Reading package lists... 53s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 53s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 53s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 53s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 54s Reading package lists... 54s Reading package lists... 54s Building dependency tree... 54s Reading state information... 54s Calculating upgrade... 54s The following packages will be upgraded: 54s libpython3-stdlib python3 python3-botocore python3-minimal usbutils 54s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 54s Need to get 7527 kB of archives. 54s After this operation, 5336 kB of additional disk space will be used. 54s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-botocore all 1.40.68+repack-1 [7381 kB] 55s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-minimal amd64 3.13.7-2 [27.8 kB] 55s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3 amd64 3.13.7-2 [23.9 kB] 55s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpython3-stdlib amd64 3.13.7-2 [10.6 kB] 55s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 usbutils amd64 1:019-1 [83.9 kB] 55s dpkg-preconfigure: unable to re-open stdin: No such file or directory 55s Fetched 7527 kB in 1s (8454 kB/s) 55s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83372 files and directories currently installed.) 55s Preparing to unpack .../python3-botocore_1.40.68+repack-1_all.deb ... 55s Unpacking python3-botocore (1.40.68+repack-1) over (1.37.9+repack-1) ... 56s Preparing to unpack .../python3-minimal_3.13.7-2_amd64.deb ... 56s Unpacking python3-minimal (3.13.7-2) over (3.13.7-1) ... 56s Setting up python3-minimal (3.13.7-2) ... 56s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83416 files and directories currently installed.) 56s Preparing to unpack .../python3_3.13.7-2_amd64.deb ... 56s running python pre-rtupdate hooks for python3.13... 56s Unpacking python3 (3.13.7-2) over (3.13.7-1) ... 56s Preparing to unpack .../libpython3-stdlib_3.13.7-2_amd64.deb ... 56s Unpacking libpython3-stdlib:amd64 (3.13.7-2) over (3.13.7-1) ... 56s Preparing to unpack .../usbutils_1%3a019-1_amd64.deb ... 56s Unpacking usbutils (1:019-1) over (1:018-2) ... 56s Setting up usbutils (1:019-1) ... 56s Setting up libpython3-stdlib:amd64 (3.13.7-2) ... 56s Setting up python3 (3.13.7-2) ... 56s running python rtupdate hooks for python3.13... 56s running python post-rtupdate hooks for python3.13... 56s Setting up python3-botocore (1.40.68+repack-1) ... 57s Processing triggers for man-db (2.13.1-1) ... 57s autopkgtest [10:41:23]: upgrading testbed (apt dist-upgrade and autopurge) 57s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Calculating upgrade... 58s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Solving dependencies... 58s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 60s autopkgtest [10:41:26]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:00:33 UTC 2025 61s autopkgtest [10:41:27]: @@@@@@@@@@@@@@@@@@@@ apt-source python-moto 62s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-moto 5.1.1-4 (dsc) [2721 B] 62s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-moto 5.1.1-4 (tar) [6647 kB] 62s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-moto 5.1.1-4 (diff) [3856 B] 62s gpgv: Signature made Fri Mar 21 15:43:48 2025 UTC 62s gpgv: using RSA key A0B1A9F3508956130E7A425CD416AD15AC6B43FE 62s gpgv: Can't check signature: No public key 62s dpkg-source: warning: cannot verify inline signature for ./python-moto_5.1.1-4.dsc: no acceptable signature found 62s autopkgtest [10:41:28]: testing package python-moto version 5.1.1-4 63s autopkgtest [10:41:29]: build not needed 67s autopkgtest [10:41:33]: test pybuild-autopkgtest: preparing testbed 67s Reading package lists... 67s Building dependency tree... 67s Reading state information... 67s Solving dependencies... 67s The following NEW packages will be installed: 67s autoconf automake autopoint autotools-dev build-essential cpp cpp-15 67s cpp-15-x86-64-linux-gnu cpp-x86-64-linux-gnu debhelper debugedit 67s dh-autoreconf dh-python dh-strip-nondeterminism dwz g++ g++-15 67s g++-15-x86-64-linux-gnu g++-x86-64-linux-gnu gcc gcc-15 67s gcc-15-x86-64-linux-gnu gcc-x86-64-linux-gnu gettext intltool-debian 67s libarchive-zip-perl libasan8 libcc1-0 libdebhelper-perl 67s libfile-stripnondeterminism-perl libgcc-15-dev libgomp1 libhwasan0 libisl23 67s libitm1 liblsan0 libmpc3 libpython3.14-minimal libpython3.14-stdlib 67s libquadmath0 libstdc++-15-dev libtool libtsan2 libubsan1 libxslt1.1 m4 67s openstack-pkg-tools po-debconf pybuild-plugin-autopkgtest 67s pybuild-plugin-pyproject python3-all python3-antlr4 python3-aws-xray-sdk 67s python3-build python3-click python3-docker python3-envs python3-flask 67s python3-flask-cors python3-freezegun python3-graphql-core python3-inflection 67s python3-iniconfig python3-installer python3-itsdangerous python3-joserfc 67s python3-jsondiff python3-jsonpath-ng python3-jsonpickle 67s python3-jsonschema-path python3-lazy-object-proxy python3-lxml python3-moto 67s python3-multipart python3-mypy python3-mypy-extensions 67s python3-openapi-schema-validator python3-openapi-spec-validator 67s python3-pathable python3-pip python3-pluggy python3-ply 67s python3-prompt-toolkit python3-psutil python3-pycognito python3-pyotp 67s python3-pyproject-hooks python3-pytest python3-responses 67s python3-rfc3339-validator python3-terminaltables3 python3-wcwidth 67s python3-werkzeug python3-wheel python3-wrapt python3-xmltodict python3.14 67s python3.14-minimal 67s 0 upgraded, 98 newly installed, 0 to remove and 0 not upgraded. 67s Need to get 101 MB of archives. 67s After this operation, 371 MB of additional disk space will be used. 67s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.0-4 [906 kB] 68s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14-minimal amd64 3.14.0-4 [2559 kB] 68s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 m4 amd64 1.4.20-2 [217 kB] 68s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 autoconf all 2.72-3.1ubuntu1 [384 kB] 68s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 autotools-dev all 20240727.1 [43.4 kB] 68s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 automake all 1:1.18.1-2 [581 kB] 68s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 autopoint all 0.23.2-1 [620 kB] 68s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 libisl23 amd64 0.27-1 [685 kB] 68s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 libmpc3 amd64 1.3.1-2 [54.8 kB] 68s Get:10 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15-x86-64-linux-gnu amd64 15.2.0-7ubuntu1 [12.9 MB] 68s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-15 amd64 15.2.0-7ubuntu1 [1026 B] 68s Get:12 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [5746 B] 68s Get:13 http://ftpmaster.internal/ubuntu resolute/main amd64 cpp amd64 4:15.2.0-4ubuntu1 [22.4 kB] 68s Get:14 http://ftpmaster.internal/ubuntu resolute/main amd64 libcc1-0 amd64 15.2.0-7ubuntu1 [47.4 kB] 68s Get:15 http://ftpmaster.internal/ubuntu resolute/main amd64 libgomp1 amd64 15.2.0-7ubuntu1 [151 kB] 68s Get:16 http://ftpmaster.internal/ubuntu resolute/main amd64 libitm1 amd64 15.2.0-7ubuntu1 [29.7 kB] 68s Get:17 http://ftpmaster.internal/ubuntu resolute/main amd64 libasan8 amd64 15.2.0-7ubuntu1 [3071 kB] 68s Get:18 http://ftpmaster.internal/ubuntu resolute/main amd64 liblsan0 amd64 15.2.0-7ubuntu1 [1360 kB] 68s Get:19 http://ftpmaster.internal/ubuntu resolute/main amd64 libtsan2 amd64 15.2.0-7ubuntu1 [2757 kB] 68s Get:20 http://ftpmaster.internal/ubuntu resolute/main amd64 libubsan1 amd64 15.2.0-7ubuntu1 [1210 kB] 69s Get:21 http://ftpmaster.internal/ubuntu resolute/main amd64 libhwasan0 amd64 15.2.0-7ubuntu1 [1685 kB] 69s Get:22 http://ftpmaster.internal/ubuntu resolute/main amd64 libquadmath0 amd64 15.2.0-7ubuntu1 [153 kB] 69s Get:23 http://ftpmaster.internal/ubuntu resolute/main amd64 libgcc-15-dev amd64 15.2.0-7ubuntu1 [2864 kB] 69s Get:24 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15-x86-64-linux-gnu amd64 15.2.0-7ubuntu1 [25.4 MB] 70s Get:25 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-15 amd64 15.2.0-7ubuntu1 [524 kB] 70s Get:26 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [1208 B] 70s Get:27 http://ftpmaster.internal/ubuntu resolute/main amd64 gcc amd64 4:15.2.0-4ubuntu1 [5024 B] 70s Get:28 http://ftpmaster.internal/ubuntu resolute/main amd64 libstdc++-15-dev amd64 15.2.0-7ubuntu1 [2573 kB] 70s Get:29 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15-x86-64-linux-gnu amd64 15.2.0-7ubuntu1 [14.4 MB] 70s Get:30 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-15 amd64 15.2.0-7ubuntu1 [23.7 kB] 70s Get:31 http://ftpmaster.internal/ubuntu resolute/main amd64 g++-x86-64-linux-gnu amd64 4:15.2.0-4ubuntu1 [966 B] 70s Get:32 http://ftpmaster.internal/ubuntu resolute/main amd64 g++ amd64 4:15.2.0-4ubuntu1 [1100 B] 70s Get:33 http://ftpmaster.internal/ubuntu resolute/main amd64 build-essential amd64 12.12ubuntu1 [5080 B] 70s Get:34 http://ftpmaster.internal/ubuntu resolute/main amd64 libdebhelper-perl all 13.24.2ubuntu1 [95.7 kB] 70s Get:35 http://ftpmaster.internal/ubuntu resolute/main amd64 libtool all 2.5.4-7 [169 kB] 70s Get:36 http://ftpmaster.internal/ubuntu resolute/main amd64 dh-autoreconf all 21 [12.5 kB] 70s Get:37 http://ftpmaster.internal/ubuntu resolute/main amd64 libarchive-zip-perl all 1.68-1 [90.2 kB] 70s Get:38 http://ftpmaster.internal/ubuntu resolute/main amd64 libfile-stripnondeterminism-perl all 1.15.0-1 [20.5 kB] 70s Get:39 http://ftpmaster.internal/ubuntu resolute/main amd64 dh-strip-nondeterminism all 1.15.0-1 [5090 B] 70s Get:40 http://ftpmaster.internal/ubuntu resolute/main amd64 debugedit amd64 1:5.2-3 [49.9 kB] 70s Get:41 http://ftpmaster.internal/ubuntu resolute/main amd64 dwz amd64 0.16-2 [115 kB] 70s Get:42 http://ftpmaster.internal/ubuntu resolute/main amd64 gettext amd64 0.23.2-1 [1019 kB] 70s Get:43 http://ftpmaster.internal/ubuntu resolute/main amd64 intltool-debian all 0.35.0+20060710.6 [23.2 kB] 70s Get:44 http://ftpmaster.internal/ubuntu resolute/main amd64 po-debconf all 1.0.21+nmu1 [233 kB] 70s Get:45 http://ftpmaster.internal/ubuntu resolute/main amd64 debhelper all 13.24.2ubuntu1 [896 kB] 70s Get:46 http://ftpmaster.internal/ubuntu resolute/universe amd64 dh-python all 6.20250414 [119 kB] 70s Get:47 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.0-4 [2397 kB] 71s Get:48 http://ftpmaster.internal/ubuntu resolute/main amd64 libxslt1.1 amd64 1.1.43-0.3 [172 kB] 71s Get:49 http://ftpmaster.internal/ubuntu resolute/universe amd64 pybuild-plugin-autopkgtest all 6.20250414 [1746 B] 71s Get:50 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pyproject-hooks all 1.2.0-1 [10.2 kB] 71s Get:51 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-wheel all 0.46.1-2 [22.1 kB] 71s Get:52 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-build all 1.2.2-4 [31.0 kB] 71s Get:53 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-installer all 0.7.0+dfsg1-3 [17.4 kB] 71s Get:54 http://ftpmaster.internal/ubuntu resolute/universe amd64 pybuild-plugin-pyproject all 6.20250414 [1728 B] 71s Get:55 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14 amd64 3.14.0-4 [805 kB] 71s Get:56 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-all amd64 3.13.7-2 [890 B] 71s Get:57 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-antlr4 all 4.9.2-1 [99.0 kB] 71s Get:58 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-jsonpickle all 4.0.2+dfsg-2 [40.1 kB] 71s Get:59 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-wrapt amd64 1.17.3-2 [40.7 kB] 71s Get:60 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-aws-xray-sdk all 0.95-4 [30.3 kB] 71s Get:61 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-click all 8.2.0+0.really.8.1.8-1 [80.0 kB] 71s Get:62 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-docker all 7.1.0-2ubuntu1 [91.0 kB] 71s Get:63 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-terminaltables3 all 4.0.0-4 [14.6 kB] 71s Get:64 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-envs all 1.2.6-4 [6902 B] 71s Get:65 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-itsdangerous all 2.2.0-2 [15.3 kB] 71s Get:66 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-werkzeug all 3.1.3-2 [169 kB] 71s Get:67 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-flask all 3.1.2-1ubuntu1 [84.7 kB] 71s Get:68 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-flask-cors all 6.0.1-1 [512 kB] 71s Get:69 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-freezegun all 1.5.1-1.2 [15.9 kB] 71s Get:70 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-graphql-core all 3.2.7-1 [125 kB] 71s Get:71 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-inflection all 0.3.1-3 [7326 B] 71s Get:72 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-iniconfig all 2.1.0-1 [6840 B] 71s Get:73 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-joserfc all 1.4.1-1 [41.8 kB] 71s Get:74 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-jsondiff all 2.1.2-1 [14.2 kB] 71s Get:75 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-ply all 3.11-9 [45.8 kB] 71s Get:76 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-jsonpath-ng all 1.7.0-3 [32.9 kB] 71s Get:77 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pathable all 0.4.4-1 [5604 B] 71s Get:78 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-jsonschema-path all 0.3.4-1 [8042 B] 71s Get:79 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-lazy-object-proxy amd64 1.12.0-1 [26.8 kB] 71s Get:80 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-lxml amd64 6.0.2-1 [2333 kB] 71s Get:81 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-responses all 0.25.8-1 [40.6 kB] 71s Get:82 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-xmltodict all 0.13.0-1ubuntu1 [14.3 kB] 71s Get:83 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-moto all 5.1.1-4 [3531 kB] 71s Get:84 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-multipart all 1.3.0-3 [15.5 kB] 71s Get:85 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-mypy-extensions all 1.1.0-1 [6716 B] 71s Get:86 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-psutil amd64 7.1.0-1ubuntu1 [191 kB] 71s Get:87 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-mypy amd64 1.15.0-5 [9215 kB] 72s Get:88 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-rfc3339-validator all 0.1.4-2 [3930 B] 72s Get:89 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-openapi-schema-validator all 0.6.3-1 [8164 B] 72s Get:90 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-openapi-spec-validator all 0.7.1-3 [27.5 kB] 72s Get:91 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pip all 25.1.1+dfsg-1ubuntu2 [1416 kB] 72s Get:92 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pluggy all 1.6.0-1 [21.0 kB] 72s Get:93 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-wcwidth all 0.2.13+dfsg1-1 [26.3 kB] 72s Get:94 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-prompt-toolkit all 3.0.52-1 [258 kB] 72s Get:95 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pycognito all 2024.5.1-2 [27.0 kB] 72s Get:96 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pyotp all 2.9.0-2 [17.3 kB] 72s Get:97 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest all 8.3.5-2 [252 kB] 72s Get:98 http://ftpmaster.internal/ubuntu resolute/universe amd64 openstack-pkg-tools all 135ubuntu1 [99.5 kB] 72s Fetched 101 MB in 4s (23.5 MB/s) 72s Selecting previously unselected package libpython3.14-minimal:amd64. 72s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83416 files and directories currently installed.) 72s Preparing to unpack .../00-libpython3.14-minimal_3.14.0-4_amd64.deb ... 72s Unpacking libpython3.14-minimal:amd64 (3.14.0-4) ... 72s Selecting previously unselected package python3.14-minimal. 72s Preparing to unpack .../01-python3.14-minimal_3.14.0-4_amd64.deb ... 72s Unpacking python3.14-minimal (3.14.0-4) ... 72s Selecting previously unselected package m4. 72s Preparing to unpack .../02-m4_1.4.20-2_amd64.deb ... 72s Unpacking m4 (1.4.20-2) ... 72s Selecting previously unselected package autoconf. 72s Preparing to unpack .../03-autoconf_2.72-3.1ubuntu1_all.deb ... 72s Unpacking autoconf (2.72-3.1ubuntu1) ... 72s Selecting previously unselected package autotools-dev. 72s Preparing to unpack .../04-autotools-dev_20240727.1_all.deb ... 72s Unpacking autotools-dev (20240727.1) ... 72s Selecting previously unselected package automake. 72s Preparing to unpack .../05-automake_1%3a1.18.1-2_all.deb ... 72s Unpacking automake (1:1.18.1-2) ... 72s Selecting previously unselected package autopoint. 72s Preparing to unpack .../06-autopoint_0.23.2-1_all.deb ... 72s Unpacking autopoint (0.23.2-1) ... 72s Selecting previously unselected package libisl23:amd64. 72s Preparing to unpack .../07-libisl23_0.27-1_amd64.deb ... 72s Unpacking libisl23:amd64 (0.27-1) ... 72s Selecting previously unselected package libmpc3:amd64. 72s Preparing to unpack .../08-libmpc3_1.3.1-2_amd64.deb ... 72s Unpacking libmpc3:amd64 (1.3.1-2) ... 72s Selecting previously unselected package cpp-15-x86-64-linux-gnu. 72s Preparing to unpack .../09-cpp-15-x86-64-linux-gnu_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking cpp-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package cpp-15. 72s Preparing to unpack .../10-cpp-15_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking cpp-15 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package cpp-x86-64-linux-gnu. 72s Preparing to unpack .../11-cpp-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 72s Unpacking cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 72s Selecting previously unselected package cpp. 72s Preparing to unpack .../12-cpp_4%3a15.2.0-4ubuntu1_amd64.deb ... 72s Unpacking cpp (4:15.2.0-4ubuntu1) ... 72s Selecting previously unselected package libcc1-0:amd64. 72s Preparing to unpack .../13-libcc1-0_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking libcc1-0:amd64 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package libgomp1:amd64. 72s Preparing to unpack .../14-libgomp1_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking libgomp1:amd64 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package libitm1:amd64. 72s Preparing to unpack .../15-libitm1_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking libitm1:amd64 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package libasan8:amd64. 72s Preparing to unpack .../16-libasan8_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking libasan8:amd64 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package liblsan0:amd64. 72s Preparing to unpack .../17-liblsan0_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking liblsan0:amd64 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package libtsan2:amd64. 72s Preparing to unpack .../18-libtsan2_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking libtsan2:amd64 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package libubsan1:amd64. 72s Preparing to unpack .../19-libubsan1_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking libubsan1:amd64 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package libhwasan0:amd64. 72s Preparing to unpack .../20-libhwasan0_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking libhwasan0:amd64 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package libquadmath0:amd64. 72s Preparing to unpack .../21-libquadmath0_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking libquadmath0:amd64 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package libgcc-15-dev:amd64. 72s Preparing to unpack .../22-libgcc-15-dev_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking libgcc-15-dev:amd64 (15.2.0-7ubuntu1) ... 72s Selecting previously unselected package gcc-15-x86-64-linux-gnu. 72s Preparing to unpack .../23-gcc-15-x86-64-linux-gnu_15.2.0-7ubuntu1_amd64.deb ... 72s Unpacking gcc-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 73s Selecting previously unselected package gcc-15. 73s Preparing to unpack .../24-gcc-15_15.2.0-7ubuntu1_amd64.deb ... 73s Unpacking gcc-15 (15.2.0-7ubuntu1) ... 73s Selecting previously unselected package gcc-x86-64-linux-gnu. 73s Preparing to unpack .../25-gcc-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 73s Unpacking gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 73s Selecting previously unselected package gcc. 73s Preparing to unpack .../26-gcc_4%3a15.2.0-4ubuntu1_amd64.deb ... 73s Unpacking gcc (4:15.2.0-4ubuntu1) ... 73s Selecting previously unselected package libstdc++-15-dev:amd64. 73s Preparing to unpack .../27-libstdc++-15-dev_15.2.0-7ubuntu1_amd64.deb ... 73s Unpacking libstdc++-15-dev:amd64 (15.2.0-7ubuntu1) ... 73s Selecting previously unselected package g++-15-x86-64-linux-gnu. 73s Preparing to unpack .../28-g++-15-x86-64-linux-gnu_15.2.0-7ubuntu1_amd64.deb ... 73s Unpacking g++-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 73s Selecting previously unselected package g++-15. 73s Preparing to unpack .../29-g++-15_15.2.0-7ubuntu1_amd64.deb ... 73s Unpacking g++-15 (15.2.0-7ubuntu1) ... 73s Selecting previously unselected package g++-x86-64-linux-gnu. 73s Preparing to unpack .../30-g++-x86-64-linux-gnu_4%3a15.2.0-4ubuntu1_amd64.deb ... 73s Unpacking g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 73s Selecting previously unselected package g++. 73s Preparing to unpack .../31-g++_4%3a15.2.0-4ubuntu1_amd64.deb ... 73s Unpacking g++ (4:15.2.0-4ubuntu1) ... 73s Selecting previously unselected package build-essential. 73s Preparing to unpack .../32-build-essential_12.12ubuntu1_amd64.deb ... 73s Unpacking build-essential (12.12ubuntu1) ... 73s Selecting previously unselected package libdebhelper-perl. 73s Preparing to unpack .../33-libdebhelper-perl_13.24.2ubuntu1_all.deb ... 73s Unpacking libdebhelper-perl (13.24.2ubuntu1) ... 73s Selecting previously unselected package libtool. 73s Preparing to unpack .../34-libtool_2.5.4-7_all.deb ... 73s Unpacking libtool (2.5.4-7) ... 73s Selecting previously unselected package dh-autoreconf. 73s Preparing to unpack .../35-dh-autoreconf_21_all.deb ... 73s Unpacking dh-autoreconf (21) ... 73s Selecting previously unselected package libarchive-zip-perl. 73s Preparing to unpack .../36-libarchive-zip-perl_1.68-1_all.deb ... 73s Unpacking libarchive-zip-perl (1.68-1) ... 73s Selecting previously unselected package libfile-stripnondeterminism-perl. 73s Preparing to unpack .../37-libfile-stripnondeterminism-perl_1.15.0-1_all.deb ... 73s Unpacking libfile-stripnondeterminism-perl (1.15.0-1) ... 73s Selecting previously unselected package dh-strip-nondeterminism. 73s Preparing to unpack .../38-dh-strip-nondeterminism_1.15.0-1_all.deb ... 73s Unpacking dh-strip-nondeterminism (1.15.0-1) ... 73s Selecting previously unselected package debugedit. 73s Preparing to unpack .../39-debugedit_1%3a5.2-3_amd64.deb ... 73s Unpacking debugedit (1:5.2-3) ... 73s Selecting previously unselected package dwz. 73s Preparing to unpack .../40-dwz_0.16-2_amd64.deb ... 73s Unpacking dwz (0.16-2) ... 73s Selecting previously unselected package gettext. 73s Preparing to unpack .../41-gettext_0.23.2-1_amd64.deb ... 73s Unpacking gettext (0.23.2-1) ... 73s Selecting previously unselected package intltool-debian. 73s Preparing to unpack .../42-intltool-debian_0.35.0+20060710.6_all.deb ... 73s Unpacking intltool-debian (0.35.0+20060710.6) ... 73s Selecting previously unselected package po-debconf. 73s Preparing to unpack .../43-po-debconf_1.0.21+nmu1_all.deb ... 73s Unpacking po-debconf (1.0.21+nmu1) ... 73s Selecting previously unselected package debhelper. 73s Preparing to unpack .../44-debhelper_13.24.2ubuntu1_all.deb ... 73s Unpacking debhelper (13.24.2ubuntu1) ... 73s Selecting previously unselected package dh-python. 73s Preparing to unpack .../45-dh-python_6.20250414_all.deb ... 73s Unpacking dh-python (6.20250414) ... 73s Selecting previously unselected package libpython3.14-stdlib:amd64. 73s Preparing to unpack .../46-libpython3.14-stdlib_3.14.0-4_amd64.deb ... 73s Unpacking libpython3.14-stdlib:amd64 (3.14.0-4) ... 73s Selecting previously unselected package libxslt1.1:amd64. 73s Preparing to unpack .../47-libxslt1.1_1.1.43-0.3_amd64.deb ... 73s Unpacking libxslt1.1:amd64 (1.1.43-0.3) ... 73s Selecting previously unselected package pybuild-plugin-autopkgtest. 73s Preparing to unpack .../48-pybuild-plugin-autopkgtest_6.20250414_all.deb ... 73s Unpacking pybuild-plugin-autopkgtest (6.20250414) ... 73s Selecting previously unselected package python3-pyproject-hooks. 73s Preparing to unpack .../49-python3-pyproject-hooks_1.2.0-1_all.deb ... 73s Unpacking python3-pyproject-hooks (1.2.0-1) ... 73s Selecting previously unselected package python3-wheel. 73s Preparing to unpack .../50-python3-wheel_0.46.1-2_all.deb ... 73s Unpacking python3-wheel (0.46.1-2) ... 73s Selecting previously unselected package python3-build. 73s Preparing to unpack .../51-python3-build_1.2.2-4_all.deb ... 73s Unpacking python3-build (1.2.2-4) ... 73s Selecting previously unselected package python3-installer. 73s Preparing to unpack .../52-python3-installer_0.7.0+dfsg1-3_all.deb ... 73s Unpacking python3-installer (0.7.0+dfsg1-3) ... 73s Selecting previously unselected package pybuild-plugin-pyproject. 73s Preparing to unpack .../53-pybuild-plugin-pyproject_6.20250414_all.deb ... 73s Unpacking pybuild-plugin-pyproject (6.20250414) ... 73s Selecting previously unselected package python3.14. 73s Preparing to unpack .../54-python3.14_3.14.0-4_amd64.deb ... 73s Unpacking python3.14 (3.14.0-4) ... 73s Selecting previously unselected package python3-all. 73s Preparing to unpack .../55-python3-all_3.13.7-2_amd64.deb ... 73s Unpacking python3-all (3.13.7-2) ... 73s Selecting previously unselected package python3-antlr4. 73s Preparing to unpack .../56-python3-antlr4_4.9.2-1_all.deb ... 73s Unpacking python3-antlr4 (4.9.2-1) ... 73s Selecting previously unselected package python3-jsonpickle. 73s Preparing to unpack .../57-python3-jsonpickle_4.0.2+dfsg-2_all.deb ... 73s Unpacking python3-jsonpickle (4.0.2+dfsg-2) ... 73s Selecting previously unselected package python3-wrapt. 73s Preparing to unpack .../58-python3-wrapt_1.17.3-2_amd64.deb ... 73s Unpacking python3-wrapt (1.17.3-2) ... 73s Selecting previously unselected package python3-aws-xray-sdk. 73s Preparing to unpack .../59-python3-aws-xray-sdk_0.95-4_all.deb ... 73s Unpacking python3-aws-xray-sdk (0.95-4) ... 73s Selecting previously unselected package python3-click. 73s Preparing to unpack .../60-python3-click_8.2.0+0.really.8.1.8-1_all.deb ... 73s Unpacking python3-click (8.2.0+0.really.8.1.8-1) ... 73s Selecting previously unselected package python3-docker. 73s Preparing to unpack .../61-python3-docker_7.1.0-2ubuntu1_all.deb ... 73s Unpacking python3-docker (7.1.0-2ubuntu1) ... 73s Selecting previously unselected package python3-terminaltables3. 73s Preparing to unpack .../62-python3-terminaltables3_4.0.0-4_all.deb ... 73s Unpacking python3-terminaltables3 (4.0.0-4) ... 73s Selecting previously unselected package python3-envs. 73s Preparing to unpack .../63-python3-envs_1.2.6-4_all.deb ... 73s Unpacking python3-envs (1.2.6-4) ... 73s Selecting previously unselected package python3-itsdangerous. 73s Preparing to unpack .../64-python3-itsdangerous_2.2.0-2_all.deb ... 73s Unpacking python3-itsdangerous (2.2.0-2) ... 73s Selecting previously unselected package python3-werkzeug. 73s Preparing to unpack .../65-python3-werkzeug_3.1.3-2_all.deb ... 73s Unpacking python3-werkzeug (3.1.3-2) ... 73s Selecting previously unselected package python3-flask. 73s Preparing to unpack .../66-python3-flask_3.1.2-1ubuntu1_all.deb ... 73s Unpacking python3-flask (3.1.2-1ubuntu1) ... 73s Selecting previously unselected package python3-flask-cors. 73s Preparing to unpack .../67-python3-flask-cors_6.0.1-1_all.deb ... 73s Unpacking python3-flask-cors (6.0.1-1) ... 73s Selecting previously unselected package python3-freezegun. 73s Preparing to unpack .../68-python3-freezegun_1.5.1-1.2_all.deb ... 73s Unpacking python3-freezegun (1.5.1-1.2) ... 73s Selecting previously unselected package python3-graphql-core. 73s Preparing to unpack .../69-python3-graphql-core_3.2.7-1_all.deb ... 73s Unpacking python3-graphql-core (3.2.7-1) ... 74s Selecting previously unselected package python3-inflection. 74s Preparing to unpack .../70-python3-inflection_0.3.1-3_all.deb ... 74s Unpacking python3-inflection (0.3.1-3) ... 74s Selecting previously unselected package python3-iniconfig. 74s Preparing to unpack .../71-python3-iniconfig_2.1.0-1_all.deb ... 74s Unpacking python3-iniconfig (2.1.0-1) ... 74s Selecting previously unselected package python3-joserfc. 74s Preparing to unpack .../72-python3-joserfc_1.4.1-1_all.deb ... 74s Unpacking python3-joserfc (1.4.1-1) ... 74s Selecting previously unselected package python3-jsondiff. 74s Preparing to unpack .../73-python3-jsondiff_2.1.2-1_all.deb ... 74s Unpacking python3-jsondiff (2.1.2-1) ... 74s Selecting previously unselected package python3-ply. 74s Preparing to unpack .../74-python3-ply_3.11-9_all.deb ... 74s Unpacking python3-ply (3.11-9) ... 74s Selecting previously unselected package python3-jsonpath-ng. 74s Preparing to unpack .../75-python3-jsonpath-ng_1.7.0-3_all.deb ... 74s Unpacking python3-jsonpath-ng (1.7.0-3) ... 74s Selecting previously unselected package python3-pathable. 74s Preparing to unpack .../76-python3-pathable_0.4.4-1_all.deb ... 74s Unpacking python3-pathable (0.4.4-1) ... 74s Selecting previously unselected package python3-jsonschema-path. 74s Preparing to unpack .../77-python3-jsonschema-path_0.3.4-1_all.deb ... 74s Unpacking python3-jsonschema-path (0.3.4-1) ... 74s Selecting previously unselected package python3-lazy-object-proxy. 74s Preparing to unpack .../78-python3-lazy-object-proxy_1.12.0-1_amd64.deb ... 74s Unpacking python3-lazy-object-proxy (1.12.0-1) ... 74s Selecting previously unselected package python3-lxml:amd64. 74s Preparing to unpack .../79-python3-lxml_6.0.2-1_amd64.deb ... 74s Unpacking python3-lxml:amd64 (6.0.2-1) ... 74s Selecting previously unselected package python3-responses. 74s Preparing to unpack .../80-python3-responses_0.25.8-1_all.deb ... 74s Unpacking python3-responses (0.25.8-1) ... 74s Selecting previously unselected package python3-xmltodict. 74s Preparing to unpack .../81-python3-xmltodict_0.13.0-1ubuntu1_all.deb ... 74s Unpacking python3-xmltodict (0.13.0-1ubuntu1) ... 74s Selecting previously unselected package python3-moto. 74s Preparing to unpack .../82-python3-moto_5.1.1-4_all.deb ... 74s Unpacking python3-moto (5.1.1-4) ... 74s Selecting previously unselected package python3-multipart. 74s Preparing to unpack .../83-python3-multipart_1.3.0-3_all.deb ... 74s Unpacking python3-multipart (1.3.0-3) ... 74s Selecting previously unselected package python3-mypy-extensions. 74s Preparing to unpack .../84-python3-mypy-extensions_1.1.0-1_all.deb ... 74s Unpacking python3-mypy-extensions (1.1.0-1) ... 74s Selecting previously unselected package python3-psutil. 74s Preparing to unpack .../85-python3-psutil_7.1.0-1ubuntu1_amd64.deb ... 74s Unpacking python3-psutil (7.1.0-1ubuntu1) ... 74s Selecting previously unselected package python3-mypy. 74s Preparing to unpack .../86-python3-mypy_1.15.0-5_amd64.deb ... 74s Unpacking python3-mypy (1.15.0-5) ... 74s Selecting previously unselected package python3-rfc3339-validator. 74s Preparing to unpack .../87-python3-rfc3339-validator_0.1.4-2_all.deb ... 74s Unpacking python3-rfc3339-validator (0.1.4-2) ... 74s Selecting previously unselected package python3-openapi-schema-validator. 74s Preparing to unpack .../88-python3-openapi-schema-validator_0.6.3-1_all.deb ... 74s Unpacking python3-openapi-schema-validator (0.6.3-1) ... 74s Selecting previously unselected package python3-openapi-spec-validator. 74s Preparing to unpack .../89-python3-openapi-spec-validator_0.7.1-3_all.deb ... 74s Unpacking python3-openapi-spec-validator (0.7.1-3) ... 74s Selecting previously unselected package python3-pip. 74s Preparing to unpack .../90-python3-pip_25.1.1+dfsg-1ubuntu2_all.deb ... 74s Unpacking python3-pip (25.1.1+dfsg-1ubuntu2) ... 74s Selecting previously unselected package python3-pluggy. 74s Preparing to unpack .../91-python3-pluggy_1.6.0-1_all.deb ... 74s Unpacking python3-pluggy (1.6.0-1) ... 74s Selecting previously unselected package python3-wcwidth. 74s Preparing to unpack .../92-python3-wcwidth_0.2.13+dfsg1-1_all.deb ... 74s Unpacking python3-wcwidth (0.2.13+dfsg1-1) ... 74s Selecting previously unselected package python3-prompt-toolkit. 74s Preparing to unpack .../93-python3-prompt-toolkit_3.0.52-1_all.deb ... 74s Unpacking python3-prompt-toolkit (3.0.52-1) ... 74s Selecting previously unselected package python3-pycognito. 74s Preparing to unpack .../94-python3-pycognito_2024.5.1-2_all.deb ... 74s Unpacking python3-pycognito (2024.5.1-2) ... 74s Selecting previously unselected package python3-pyotp. 74s Preparing to unpack .../95-python3-pyotp_2.9.0-2_all.deb ... 74s Unpacking python3-pyotp (2.9.0-2) ... 74s Selecting previously unselected package python3-pytest. 74s Preparing to unpack .../96-python3-pytest_8.3.5-2_all.deb ... 74s Unpacking python3-pytest (8.3.5-2) ... 74s Selecting previously unselected package openstack-pkg-tools. 74s Preparing to unpack .../97-openstack-pkg-tools_135ubuntu1_all.deb ... 74s Unpacking openstack-pkg-tools (135ubuntu1) ... 74s Setting up dh-python (6.20250414) ... 74s Setting up python3-iniconfig (2.1.0-1) ... 74s Setting up python3-antlr4 (4.9.2-1) ... 75s Setting up python3-jsonpickle (4.0.2+dfsg-2) ... 75s Setting up libarchive-zip-perl (1.68-1) ... 75s Setting up python3-pathable (0.4.4-1) ... 75s Setting up python3-mypy-extensions (1.1.0-1) ... 75s Setting up libdebhelper-perl (13.24.2ubuntu1) ... 75s Setting up python3-ply (3.11-9) ... 75s Setting up libpython3.14-minimal:amd64 (3.14.0-4) ... 75s Setting up python3-docker (7.1.0-2ubuntu1) ... 75s Setting up python3-rfc3339-validator (0.1.4-2) ... 75s Setting up m4 (1.4.20-2) ... 75s Setting up python3-itsdangerous (2.2.0-2) ... 76s Setting up python3-inflection (0.3.1-3) ... 76s Setting up libgomp1:amd64 (15.2.0-7ubuntu1) ... 76s Setting up python3-click (8.2.0+0.really.8.1.8-1) ... 76s Setting up python3-wheel (0.46.1-2) ... 76s Setting up python3-terminaltables3 (4.0.0-4) ... 76s Setting up python3-psutil (7.1.0-1ubuntu1) ... 76s Setting up python3-joserfc (1.4.1-1) ... 77s Setting up python3-responses (0.25.8-1) ... 77s Setting up python3-xmltodict (0.13.0-1ubuntu1) ... 77s Setting up autotools-dev (20240727.1) ... 77s Setting up python3-pyotp (2.9.0-2) ... 77s Setting up python3-wcwidth (0.2.13+dfsg1-1) ... 77s Setting up python3-pyproject-hooks (1.2.0-1) ... 77s Setting up python3-werkzeug (3.1.3-2) ... 78s Setting up libquadmath0:amd64 (15.2.0-7ubuntu1) ... 78s Setting up libmpc3:amd64 (1.3.1-2) ... 78s Setting up python3-wrapt (1.17.3-2) ... 78s Setting up python3-mypy (1.15.0-5) ... 79s Setting up autopoint (0.23.2-1) ... 79s Setting up python3-graphql-core (3.2.7-1) ... 79s Setting up python3-pip (25.1.1+dfsg-1ubuntu2) ... 81s Setting up python3-openapi-schema-validator (0.6.3-1) ... 81s Setting up python3-installer (0.7.0+dfsg1-3) ... 81s Setting up autoconf (2.72-3.1ubuntu1) ... 81s Setting up python3-pluggy (1.6.0-1) ... 81s Setting up libubsan1:amd64 (15.2.0-7ubuntu1) ... 81s Setting up dwz (0.16-2) ... 81s Setting up libhwasan0:amd64 (15.2.0-7ubuntu1) ... 81s Setting up libasan8:amd64 (15.2.0-7ubuntu1) ... 81s Setting up libxslt1.1:amd64 (1.1.43-0.3) ... 81s Setting up debugedit (1:5.2-3) ... 81s Setting up python3-jsondiff (2.1.2-1) ... 81s Setting up libtsan2:amd64 (15.2.0-7ubuntu1) ... 81s Setting up python3-lazy-object-proxy (1.12.0-1) ... 81s Setting up python3-jsonpath-ng (1.7.0-3) ... 81s Setting up python3-aws-xray-sdk (0.95-4) ... 81s Setting up libisl23:amd64 (0.27-1) ... 81s Setting up python3-build (1.2.2-4) ... 82s Setting up python3-multipart (1.3.0-3) ... 82s Setting up python3.14-minimal (3.14.0-4) ... 82s Setting up libcc1-0:amd64 (15.2.0-7ubuntu1) ... 82s Setting up python3-freezegun (1.5.1-1.2) ... 82s Setting up liblsan0:amd64 (15.2.0-7ubuntu1) ... 82s Setting up libitm1:amd64 (15.2.0-7ubuntu1) ... 82s Setting up automake (1:1.18.1-2) ... 82s update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode 82s Setting up python3-prompt-toolkit (3.0.52-1) ... 83s Setting up python3-jsonschema-path (0.3.4-1) ... 83s Setting up libfile-stripnondeterminism-perl (1.15.0-1) ... 83s Setting up gettext (0.23.2-1) ... 83s Setting up python3-openapi-spec-validator (0.7.1-3) ... 83s Setting up libgcc-15-dev:amd64 (15.2.0-7ubuntu1) ... 83s Setting up libpython3.14-stdlib:amd64 (3.14.0-4) ... 83s Setting up pybuild-plugin-pyproject (6.20250414) ... 83s Setting up python3-pytest (8.3.5-2) ... 83s Setting up python3-flask (3.1.2-1ubuntu1) ... 84s Setting up python3-envs (1.2.6-4) ... 84s Setting up cpp-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 84s Setting up intltool-debian (0.35.0+20060710.6) ... 84s Setting up gcc-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 84s Setting up python3-flask-cors (6.0.1-1) ... 84s Setting up libstdc++-15-dev:amd64 (15.2.0-7ubuntu1) ... 84s Setting up python3-moto (5.1.1-4) ... 86s Setting up dh-strip-nondeterminism (1.15.0-1) ... 86s Setting up cpp-15 (15.2.0-7ubuntu1) ... 87s Setting up python3-lxml:amd64 (6.0.2-1) ... 87s Setting up python3.14 (3.14.0-4) ... 87s Setting up cpp-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 87s Setting up g++-15-x86-64-linux-gnu (15.2.0-7ubuntu1) ... 87s Setting up python3-pycognito (2024.5.1-2) ... 87s Setting up gcc-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 87s Setting up po-debconf (1.0.21+nmu1) ... 87s Setting up python3-all (3.13.7-2) ... 87s Setting up openstack-pkg-tools (135ubuntu1) ... 87s Setting up gcc-15 (15.2.0-7ubuntu1) ... 87s Setting up cpp (4:15.2.0-4ubuntu1) ... 87s Setting up g++-x86-64-linux-gnu (4:15.2.0-4ubuntu1) ... 87s Setting up g++-15 (15.2.0-7ubuntu1) ... 87s Setting up libtool (2.5.4-7) ... 87s Setting up gcc (4:15.2.0-4ubuntu1) ... 87s Setting up dh-autoreconf (21) ... 87s Setting up g++ (4:15.2.0-4ubuntu1) ... 87s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 87s Setting up build-essential (12.12ubuntu1) ... 87s Setting up debhelper (13.24.2ubuntu1) ... 87s Setting up pybuild-plugin-autopkgtest (6.20250414) ... 87s Processing triggers for man-db (2.13.1-1) ... 88s Processing triggers for install-info (7.2-5) ... 88s Processing triggers for libc-bin (2.42-2ubuntu2) ... 88s Processing triggers for systemd (257.9-0ubuntu2) ... 89s autopkgtest [10:41:55]: test pybuild-autopkgtest: pybuild-autopkgtest 89s autopkgtest [10:41:55]: test pybuild-autopkgtest: [----------------------- 90s make: pyversions: No such file or directory 90s py3versions: no X-Python3-Version in control file, using supported versions 90s pybuild-autopkgtest 90s I: pybuild base:311: cd /tmp/autopkgtest.Yozbrn/autopkgtest_tmp/build; python3.14 -m pytest -m 'not network and not requires_docker' tests --deselect tests/test_cloudformation/test_validate.py --deselect tests/test_dynamodb/test_dynamodb_import_table.py --deselect tests/test_dynamodb/test_dynamodb_statements.py --deselect tests/test_s3/test_s3_select.py --deselect tests/test_stepfunctions/parser/ --deselect 'tests/test_stepfunctions/test_stepfunctions_versions.py::test_describe_state_machine_using_version_arn[use_parser]' --deselect tests/test_dynamodb/test_dynamodb_account_mode.py::test_dynamodb_with_account_id_routing --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_entire_service --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_specific_url --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_wildcard_urls --deselect tests/test_firehose/test_firehose_put.py::test_put_record_http_destination --deselect tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination --deselect tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header --deselect tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins 104s ============================= test session starts ============================== 104s platform linux -- Python 3.14.0, pytest-8.3.5, pluggy-1.6.0 104s rootdir: /tmp/autopkgtest.Yozbrn/autopkgtest_tmp/build 104s configfile: pyproject.toml 104s plugins: typeguard-4.4.2 104s collected 9960 items / 140 deselected / 9820 selected 104s 108s tests/test_acm/test_acm.py ................................ [ 0%] 109s tests/test_acmpca/test_acmpca.py ................... [ 0%] 110s tests/test_amp/test_amp_logging_config.py .... [ 0%] 110s tests/test_amp/test_amp_rulegroupnamespaces.py ....... [ 0%] 110s tests/test_amp/test_amp_workspaces.py ........ [ 0%] 111s tests/test_apigateway/test_apigateway.py ............................... [ 1%] 111s .......................................... [ 1%] 111s tests/test_apigateway/test_apigateway_cloudformation.py .. [ 1%] 111s tests/test_apigateway/test_apigateway_custom_ids.py ... [ 1%] 111s tests/test_apigateway/test_apigateway_deployments.py .......... [ 1%] 111s tests/test_apigateway/test_apigateway_export.py ... [ 1%] 111s tests/test_apigateway/test_apigateway_gatewayresponses.py ........ [ 1%] 112s tests/test_apigateway/test_apigateway_importrestapi.py .... [ 1%] 112s tests/test_apigateway/test_apigateway_integration.py ..... [ 1%] 112s tests/test_apigateway/test_apigateway_putrestapi.py ........ [ 1%] 112s tests/test_apigateway/test_apigateway_stage.py ................ [ 2%] 112s tests/test_apigateway/test_apigateway_validators.py ..... [ 2%] 112s tests/test_apigateway/test_apigateway_vpclink.py ...... [ 2%] 112s tests/test_apigateway/test_server.py ..... [ 2%] 112s tests/test_apigatewaymanagementapi/test_apigatewaymanagementapi.py .... [ 2%] 112s tests/test_apigatewayv2/test_apigatewayv2.py ............ [ 2%] 113s tests/test_apigatewayv2/test_apigatewayv2_authorizers.py ........ [ 2%] 113s tests/test_apigatewayv2/test_apigatewayv2_domains.py ..... [ 2%] 113s tests/test_apigatewayv2/test_apigatewayv2_integrationresponses.py ...... [ 2%] 113s . [ 2%] 113s tests/test_apigatewayv2/test_apigatewayv2_integrations.py ........... [ 2%] 113s tests/test_apigatewayv2/test_apigatewayv2_mappings.py ....... [ 2%] 113s tests/test_apigatewayv2/test_apigatewayv2_models.py ...... [ 2%] 113s tests/test_apigatewayv2/test_apigatewayv2_reimport.py .... [ 2%] 113s tests/test_apigatewayv2/test_apigatewayv2_routes.py ............... [ 3%] 113s tests/test_apigatewayv2/test_apigatewayv2_stages.py ... [ 3%] 113s tests/test_apigatewayv2/test_apigatewayv2_tags.py .... [ 3%] 113s tests/test_apigatewayv2/test_apigatewayv2_vpclinks.py ........ [ 3%] 113s tests/test_apigatewayv2/test_server.py . [ 3%] 113s tests/test_appconfig/test_appconfig_applications.py .. [ 3%] 113s tests/test_appconfig/test_appconfig_config_profiles.py .. [ 3%] 114s tests/test_appconfig/test_appconfig_hosted_config_versions.py ... [ 3%] 114s tests/test_applicationautoscaling/test_applicationautoscaling.py ....... [ 3%] 114s ...... [ 3%] 114s tests/test_applicationautoscaling/test_applicationautoscaling_policies.py . [ 3%] 114s ... [ 3%] 114s tests/test_applicationautoscaling/test_validation.py ....... [ 3%] 114s tests/test_appmesh/test_appmesh.py ......... [ 3%] 114s tests/test_appsync/test_appsync.py ................. [ 3%] 115s tests/test_appsync/test_appsync_apikeys.py ....... [ 3%] 115s tests/test_appsync/test_appsync_schema.py ........... [ 3%] 115s tests/test_appsync/test_appsync_tags.py ...... [ 4%] 115s tests/test_appsync/test_server.py . [ 4%] 115s tests/test_athena/test_athena.py ....................... [ 4%] 115s tests/test_athena/test_athena_integration.py . [ 4%] 115s tests/test_athena/test_athena_server_api.py .s.. [ 4%] 116s tests/test_autoscaling/test_autoscaling.py ............................. [ 4%] 117s ........... [ 4%] 117s tests/test_autoscaling/test_autoscaling_cloudformation.py ..... [ 4%] 117s tests/test_autoscaling/test_autoscaling_group_filters.py .... [ 4%] 118s tests/test_autoscaling/test_autoscaling_groups.py ............ [ 4%] 118s tests/test_autoscaling/test_autoscaling_metrics.py . [ 4%] 118s tests/test_autoscaling/test_autoscaling_scheduledactions.py .......... [ 5%] 118s tests/test_autoscaling/test_autoscaling_tags.py ........ [ 5%] 119s tests/test_autoscaling/test_autoscaling_warm_pools.py .... [ 5%] 120s tests/test_autoscaling/test_elb.py .................. [ 5%] 120s tests/test_autoscaling/test_elbv2.py .. [ 5%] 120s tests/test_autoscaling/test_launch_configurations.py ............. [ 5%] 121s tests/test_autoscaling/test_policies.py .......... [ 5%] 121s tests/test_autoscaling/test_server.py . [ 5%] 121s tests/test_awslambda/test_awslambda_cloudformation.py ...FFFF [ 5%] 122s tests/test_awslambda/test_lambda.py .................................... [ 6%] 124s ................................ [ 6%] 124s tests/test_awslambda/test_lambda_alias.py ............... [ 6%] 124s tests/test_awslambda/test_lambda_concurrency.py ...... [ 6%] 124s tests/test_awslambda/test_lambda_eventsourcemapping.py FFFFF [ 6%] 124s tests/test_awslambda/test_lambda_function_urls.py ...... [ 6%] 124s tests/test_awslambda/test_lambda_invoke.py s. [ 6%] 125s tests/test_awslambda/test_lambda_layers.py ........ [ 6%] 125s tests/test_awslambda/test_lambda_policy.py ............. [ 6%] 125s tests/test_awslambda/test_lambda_tags.py ... [ 6%] 125s tests/test_awslambda/test_policy.py . [ 6%] 125s tests/test_awslambda_simple/test_lambda_simple.py ... [ 7%] 125s tests/test_backup/test_backup.py .................. [ 7%] 125s tests/test_batch/test_batch.py .. [ 7%] 125s tests/test_batch/test_batch_cloudformation.py ... [ 7%] 126s tests/test_batch/test_batch_compute_envs.py ............ [ 7%] 126s tests/test_batch/test_batch_job_queue.py ........ [ 7%] 127s tests/test_batch/test_batch_jobs.py ......... [ 7%] 127s tests/test_batch/test_batch_scheduling_policy.py ..... [ 7%] 127s tests/test_batch/test_batch_tags_job_definition.py ... [ 7%] 127s tests/test_batch/test_batch_tags_job_queue.py .... [ 7%] 127s tests/test_batch/test_batch_tags_scheduling_policy.py . [ 7%] 127s tests/test_batch/test_batch_task_definition.py .................. [ 7%] 127s tests/test_batch/test_server.py . [ 7%] 127s tests/test_batch/test_utils.py .................. [ 8%] 127s tests/test_batch_simple/test_batch_cloudformation.py ... [ 8%] 128s tests/test_batch_simple/test_batch_compute_envs.py .. [ 8%] 129s tests/test_batch_simple/test_batch_jobs.py ...... [ 8%] 129s tests/test_bedrock/test_bedrock.py ..................................... [ 8%] 130s ........... [ 8%] 130s tests/test_bedrockagent/test_bedrockagent.py ........................... [ 8%] 130s  [ 8%] 130s tests/test_budgets/test_budgets.py ........ [ 9%] 130s tests/test_budgets/test_notifications.py ..... [ 9%] 130s tests/test_budgets/test_server.py . [ 9%] 130s tests/test_ce/test_ce.py ....... [ 9%] 130s tests/test_ce/test_ce_cost_and_usage.py .. [ 9%] 130s tests/test_ce/test_ce_tags.py .. [ 9%] 135s tests/test_cloudformation/test_cloudformation_custom_resources.py s.. [ 9%] 135s tests/test_cloudformation/test_cloudformation_depends_on.py ... [ 9%] 136s tests/test_cloudformation/test_cloudformation_multi_accounts.py ........ [ 9%] 136s . [ 9%] 136s tests/test_cloudformation/test_cloudformation_nested_stacks.py .... [ 9%] 136s tests/test_cloudformation/test_cloudformation_stack_crud_boto3.py ...... [ 9%] 137s ........................................................................ [ 10%] 138s ................................ [ 10%] 138s tests/test_cloudformation/test_cloudformation_stack_integration.py ..... [ 10%] 139s ............................. [ 10%] 139s tests/test_cloudformation/test_cloudformation_stack_policies.py ........ [ 10%] 139s  [ 10%] 139s tests/test_cloudformation/test_conditions.py ... [ 10%] 139s tests/test_cloudformation/test_import_value.py .. [ 10%] 139s tests/test_cloudformation/test_server.py . [ 10%] 139s tests/test_cloudformation/test_stack_parsing.py ........................ [ 11%] 139s . [ 11%] 139s tests/test_cloudformation/test_utilities.py .... [ 11%] 139s tests/test_cloudfront/test_cloudfront.py ..... [ 11%] 139s tests/test_cloudfront/test_cloudfront_dist_tags.py .. [ 11%] 140s tests/test_cloudfront/test_cloudfront_distributions.py ................. [ 11%] 140s .......................................... [ 11%] 140s tests/test_cloudfront/test_cloudfront_invalidation.py ....... [ 12%] 140s tests/test_cloudfront/test_cloudfront_keys.py .... [ 12%] 140s tests/test_cloudfront/test_cloudfront_oac.py .. [ 12%] 140s tests/test_cloudfront/test_server.py . [ 12%] 140s tests/test_cloudhsmv2/test_cloudhsmv2.py ............. [ 12%] 141s tests/test_cloudtrail/test_cloudtrail.py ............................. [ 12%] 141s tests/test_cloudtrail/test_cloudtrail_eventselectors.py ........ [ 12%] 141s tests/test_cloudtrail/test_cloudtrail_tags.py .... [ 12%] 141s tests/test_cloudtrail/test_server.py . [ 12%] 141s tests/test_cloudwatch/test_cloudwatch_alarms.py ....... [ 12%] 142s tests/test_cloudwatch/test_cloudwatch_boto3.py ......................... [ 12%] 142s ................ [ 13%] 143s tests/test_cloudwatch/test_cloudwatch_dashboards.py ....... [ 13%] 143s tests/test_cloudwatch/test_cloudwatch_expression_parser.py ... [ 13%] 143s tests/test_cloudwatch/test_cloudwatch_expressions.py ... [ 13%] 143s tests/test_cloudwatch/test_cloudwatch_tags.py ....... [ 13%] 143s tests/test_codebuild/test_codebuild.py ................... [ 13%] 143s tests/test_codecommit/test_codecommit.py ........ [ 13%] 143s tests/test_codepipeline/test_codepipeline.py ................ [ 13%] 143s tests/test_cognitoidentity/test_cognitoidentity.py ..................... [ 13%] 143s .. [ 14%] 143s tests/test_cognitoidentity/test_server.py ... [ 14%] 147s tests/test_cognitoidp/test_cognitoidp.py ............................... [ 14%] 155s ........................................................................ [ 15%] 163s ........................................................................ [ 15%] 166s ................................... [ 16%] 167s tests/test_cognitoidp/test_cognitoidp_exceptions.py ... [ 16%] 167s tests/test_cognitoidp/test_cognitoidp_replay.py .. [ 16%] 167s tests/test_cognitoidp/test_server.py ... [ 16%] 168s tests/test_comprehend/test_comprehend.py .................. [ 16%] 170s tests/test_config/test_config.py .................................. [ 16%] 171s tests/test_config/test_config_rules.py ........ [ 16%] 171s tests/test_config/test_config_rules_integration.py ... [ 16%] 171s tests/test_config/test_config_tags.py ... [ 16%] 171s tests/test_core/test_account_id_resolution.py . [ 16%] 172s tests/test_core/test_auth.py .......................... [ 17%] 172s tests/test_core/test_backenddict.py ............. [ 17%] 172s tests/test_core/test_backends.py . [ 17%] 172s tests/test_core/test_botocore_stubber.py . [ 17%] 172s tests/test_core/test_config.py .. [ 17%] 173s tests/test_core/test_decorator_calls.py ............................ [ 17%] 173s tests/test_core/test_ec2_vpc_endpoint_services.py ... [ 17%] 173s tests/test_core/test_environ_patching.py ... [ 17%] 173s tests/test_core/test_importorder.py ....... [ 17%] 173s tests/test_core/test_instance_metadata.py .... [ 17%] 173s tests/test_core/test_mock_regions.py ..... [ 17%] 173s tests/test_core/test_moto_api.py ...... [ 17%] 173s tests/test_core/test_mypy.py ... [ 17%] 173s tests/test_core/test_nested.py .. [ 18%] 173s tests/test_core/test_proxy.py sssss [ 18%] 173s tests/test_core/test_request_mocking.py ... [ 18%] 173s tests/test_core/test_request_passthrough.py . [ 18%] 173s tests/test_core/test_responses.py ......... [ 18%] 175s tests/test_core/test_responses_module.py ..... [ 18%] 175s tests/test_core/test_server.py .... [ 18%] 175s tests/test_core/test_settings.py ......... [ 18%] 175s tests/test_core/test_url_base_regex.py ................................. [ 18%] 176s ........................................................................ [ 19%] 177s ..................................................... [ 19%] 177s tests/test_core/test_url_mapping.py .. [ 20%] 177s tests/test_core/test_utils.py ............ [ 20%] 177s tests/test_databrew/test_databrew_datasets.py ............ [ 20%] 177s tests/test_databrew/test_databrew_jobs.py .......................... [ 20%] 177s tests/test_databrew/test_databrew_recipes.py ........................... [ 20%] 177s ......... [ 20%] 178s tests/test_databrew/test_databrew_rulesets.py .......... [ 20%] 178s tests/test_datapipeline/test_datapipeline.py ........ [ 21%] 178s tests/test_datapipeline/test_datapipeline_cloudformation.py . [ 21%] 178s tests/test_datapipeline/test_server.py . [ 21%] 178s tests/test_datasync/test_datasync.py ................... [ 21%] 178s tests/test_dax/test_dax.py ............................... [ 21%] 178s tests/test_dax/test_server.py . [ 21%] 179s tests/test_directconnect/test_directconnect.py .......... [ 21%] 179s tests/test_dms/test_dms.py ......... [ 21%] 180s tests/test_ds/test_ds.py ........... [ 21%] 180s tests/test_ds/test_ds_ad_connect.py ........ [ 21%] 180s tests/test_ds/test_ds_microsoft_ad.py ......... [ 22%] 181s tests/test_ds/test_ds_simple_ad_directory.py .... [ 22%] 181s tests/test_ds/test_ds_tags.py ... [ 22%] 181s tests/test_dsql/test_dsql.py .... [ 22%] 181s tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py ............. [ 22%] 182s .............................................. [ 22%] 182s tests/test_dynamodb/exceptions/test_dynamodb_transactions.py ........ [ 22%] 182s tests/test_dynamodb/exceptions/test_key_length_exceptions.py ........ [ 22%] 182s tests/test_dynamodb/models/test_item.py ............. [ 23%] 182s tests/test_dynamodb/models/test_key_condition_expression_parser.py ..... [ 23%] 182s .......................... [ 23%] 182s tests/test_dynamodb/models/test_utilities.py ............ [ 23%] 182s tests/test_dynamodb/test_dynamodb.py ................................... [ 23%] 186s ........................................................................ [ 24%] 186s .................................. [ 24%] 187s tests/test_dynamodb/test_dynamodb_batch_get_item.py ....... [ 25%] 187s tests/test_dynamodb/test_dynamodb_batch_write.py ... [ 25%] 187s tests/test_dynamodb/test_dynamodb_cloudformation.py ... [ 25%] 187s tests/test_dynamodb/test_dynamodb_condition_expressions.py .......... [ 25%] 187s tests/test_dynamodb/test_dynamodb_consumedcapacity.py ...... [ 25%] 187s tests/test_dynamodb/test_dynamodb_create_table.py .............. [ 25%] 187s tests/test_dynamodb/test_dynamodb_executor.py ....................... [ 25%] 188s tests/test_dynamodb/test_dynamodb_export_table.py ....... [ 25%] 188s tests/test_dynamodb/test_dynamodb_expression_tokenizer.py .............. [ 25%] 188s ....... [ 25%] 188s tests/test_dynamodb/test_dynamodb_expressions.py ....................... [ 26%] 188s ................. [ 26%] 189s tests/test_dynamodb/test_dynamodb_query.py ................... [ 26%] 189s tests/test_dynamodb/test_dynamodb_resource_policy.py .............. [ 26%] 190s tests/test_dynamodb/test_dynamodb_scan.py .......................... [ 26%] 190s tests/test_dynamodb/test_dynamodb_table_with_range_key.py .............. [ 27%] 190s ........... [ 27%] 190s tests/test_dynamodb/test_dynamodb_table_without_range_key.py ........... [ 27%] 191s ............... [ 27%] 191s tests/test_dynamodb/test_dynamodb_transact.py .................. [ 27%] 191s tests/test_dynamodb/test_dynamodb_update_expressions.py ........ [ 27%] 191s tests/test_dynamodb/test_dynamodb_update_table.py ..... [ 27%] 191s tests/test_dynamodb/test_dynamodb_validation.py ..................... [ 27%] 191s tests/test_dynamodb/test_server.py . [ 27%] 191s tests/test_dynamodb_v20111205/test_server.py ........................... [ 28%] 191s .............. [ 28%] 191s tests/test_dynamodb_v20111205/test_servermode.py ss [ 28%] 191s tests/test_dynamodbstreams/test_dynamodbstreams.py .......... [ 28%] 192s tests/test_ebs/test_ebs.py ........ [ 28%] 192s tests/test_ec2/test_account_attributes.py . [ 28%] 194s tests/test_ec2/test_amis.py ............................................ [ 29%] 194s . [ 29%] 195s tests/test_ec2/test_availability_zones_and_regions.py .............. [ 29%] 195s tests/test_ec2/test_carrier_gateways.py ...... [ 29%] 195s tests/test_ec2/test_customer_gateways.py ...... [ 29%] 196s tests/test_ec2/test_dhcp_options.py .................. [ 29%] 197s tests/test_ec2/test_ec2_cloudformation.py ...................... [ 29%] 197s tests/test_ec2/test_ec2_integration.py . [ 29%] 197s tests/test_ec2/test_egress_only_igw.py ..... [ 29%] 199s tests/test_ec2/test_elastic_block_store.py ............................. [ 30%] 199s ............ [ 30%] 200s tests/test_ec2/test_elastic_ip_addresses.py ...................... [ 30%] 201s tests/test_ec2/test_elastic_network_interfaces.py ...................... [ 30%] 202s ......... [ 30%] 203s tests/test_ec2/test_fleets.py .................... [ 30%] 203s tests/test_ec2/test_flow_logs.py .............. [ 31%] 203s tests/test_ec2/test_flow_logs_cloudformation.py .. [ 31%] 203s tests/test_ec2/test_general.py .. [ 31%] 204s tests/test_ec2/test_hosts.py ........ [ 31%] 204s tests/test_ec2/test_iam_integration.py ....... [ 31%] 204s tests/test_ec2/test_instance_type_offerings.py .... [ 31%] 205s tests/test_ec2/test_instance_types.py ........... [ 31%] 206s tests/test_ec2/test_instances.py ....................................... [ 31%] 209s .......................................................... [ 32%] 209s tests/test_ec2/test_internet_gateways.py ................. [ 32%] 210s tests/test_ec2/test_key_pairs.py ................... [ 32%] 211s tests/test_ec2/test_launch_templates.py ...................... [ 33%] 211s tests/test_ec2/test_launch_templates_cloudformation.py .... [ 33%] 211s tests/test_ec2/test_nat_gateway.py ........ [ 33%] 212s tests/test_ec2/test_network_acls.py ............... [ 33%] 212s tests/test_ec2/test_prefix_lists.py ............. [ 33%] 213s tests/test_ec2/test_regions.py ........ [ 33%] 214s tests/test_ec2/test_route_tables.py ............................. [ 33%] 215s tests/test_ec2/test_security_groups.py ................................. [ 34%] 216s ................... [ 34%] 216s tests/test_ec2/test_security_groups_cloudformation.py .... [ 34%] 216s tests/test_ec2/test_server.py ... [ 34%] 216s tests/test_ec2/test_settings.py .... [ 34%] 218s tests/test_ec2/test_spot_fleet.py ................. [ 34%] 218s tests/test_ec2/test_spot_instances.py ............ [ 34%] 219s tests/test_ec2/test_subnets.py ............................. [ 35%] 220s tests/test_ec2/test_tags.py ................... [ 35%] 222s tests/test_ec2/test_transit_gateway.py ............................... [ 35%] 222s tests/test_ec2/test_transit_gateway_cloudformation.py .. [ 35%] 222s tests/test_ec2/test_transit_gateway_peering_attachments.py ........ [ 35%] 223s tests/test_ec2/test_utils.py ....... [ 35%] 223s tests/test_ec2/test_virtual_private_gateways.py ................ [ 35%] 223s tests/test_ec2/test_vpc_endpoint_services_integration.py . [ 35%] 225s tests/test_ec2/test_vpc_peering.py ........................... [ 36%] 225s tests/test_ec2/test_vpc_service_configuration_integration.py ........... [ 36%] 226s .... [ 36%] 227s tests/test_ec2/test_vpcs.py ............................................ [ 36%] 227s ........ [ 36%] 228s tests/test_ec2/test_vpn_connections.py ...... [ 36%] 228s tests/test_ec2/test_windows.py . [ 36%] 228s tests/test_ec2instanceconnect/test_ec2instanceconnect_boto3.py . [ 36%] 228s tests/test_ecr/test_ecr_boto3.py ....................................... [ 37%] 229s ............................................................ [ 37%] 229s tests/test_ecr/test_ecr_cloudformation.py ... [ 37%] 229s tests/test_ecr/test_ecr_policy_validation.py ...................... [ 38%] 229s tests/test_ecr/test_ecr_scanning_config.py ... [ 38%] 229s tests/test_ecs/test_ecs_account_settings.py ............. [ 38%] 230s tests/test_ecs/test_ecs_boto3.py ....................................... [ 38%] 231s ............................................................ [ 39%] 232s tests/test_ecs/test_ecs_capacity_provider.py ....... [ 39%] 232s tests/test_ecs/test_ecs_cloudformation.py .......... [ 39%] 232s tests/test_ecs/test_ecs_efs.py . [ 39%] 232s tests/test_ecs/test_ecs_task_def_tags.py . [ 39%] 232s tests/test_ecs/test_ecs_task_tags.py .. [ 39%] 232s tests/test_ecs/test_ecs_tasksets.py ......... [ 39%] 232s tests/test_efs/test_access_point_tagging.py .... [ 39%] 232s tests/test_efs/test_access_points.py ....... [ 39%] 232s tests/test_efs/test_efs_cloudformation.py .. [ 39%] 232s tests/test_efs/test_file_system.py ................. [ 39%] 232s tests/test_efs/test_filesystem_policy.py .. [ 40%] 232s tests/test_efs/test_filesystem_tagging.py .... [ 40%] 232s tests/test_efs/test_lifecycle_config.py ... [ 40%] 233s tests/test_efs/test_mount_target.py ................... [ 40%] 233s tests/test_efs/test_mount_target_security_groups.py .... [ 40%] 233s tests/test_efs/test_server.py ....... [ 40%] 254s tests/test_eks/test_eks.py ............................................. [ 40%] 256s ............................................ [ 41%] 256s tests/test_eks/test_eks_ec2.py ... [ 41%] 257s tests/test_eks/test_server.py .................. [ 41%] 258s tests/test_elasticache/test_elasticache.py ............................. [ 41%] 258s .... [ 41%] 258s tests/test_elasticache/test_server.py . [ 41%] 258s tests/test_elasticbeanstalk/test_elasticbeanstalk.py .......... [ 41%] 258s tests/test_elasticbeanstalk/test_server.py . [ 41%] 258s tests/test_elastictranscoder/test_elastictranscoder.py ................ [ 42%] 258s tests/test_elastictranscoder/test_server.py . [ 42%] 259s tests/test_elb/test_elb.py ......................................... [ 42%] 259s tests/test_elb/test_elb_availabilityzones.py . [ 42%] 259s tests/test_elb/test_elb_cloudformation.py ... [ 42%] 259s tests/test_elb/test_elb_policies.py .......... [ 42%] 259s tests/test_elb/test_elb_subnets.py .. [ 42%] 259s tests/test_elb/test_server.py . [ 42%] 261s tests/test_elbv2/test_elbv2.py ......................................... [ 43%] 263s ................ [ 43%] 263s tests/test_elbv2/test_elbv2_cloudformation.py ..... [ 43%] 263s tests/test_elbv2/test_elbv2_integration.py . [ 43%] 263s tests/test_elbv2/test_elbv2_listener_attributes.py . [ 43%] 264s tests/test_elbv2/test_elbv2_listener_rule_tags.py ... [ 43%] 266s tests/test_elbv2/test_elbv2_listener_rules.py .......................... [ 43%] 267s ............ [ 43%] 267s tests/test_elbv2/test_elbv2_listener_tags.py ... [ 43%] 267s tests/test_elbv2/test_elbv2_set_subnets.py .. [ 43%] 268s tests/test_elbv2/test_elbv2_target_groups.py ........................... [ 44%] 270s ............................................. [ 44%] 270s tests/test_elbv2/test_elbv2_target_health.py .. [ 44%] 270s tests/test_elbv2/test_server.py . [ 44%] 270s tests/test_emr/test_emr.py . [ 44%] 275s tests/test_emr/test_emr_boto3.py ............................ [ 44%] 275s tests/test_emr/test_emr_cloudformation.py ....... [ 44%] 276s tests/test_emr/test_emr_integration.py ...... [ 45%] 276s tests/test_emr/test_server.py . [ 45%] 276s tests/test_emr/test_utils.py .. [ 45%] 276s tests/test_emrcontainers/test_emrcontainers.py ......................... [ 45%] 277s ................................ [ 45%] 277s tests/test_emrcontainers/test_server.py . [ 45%] 277s tests/test_emrserverless/test_emrserverless.py ......................... [ 45%] 278s .................................... [ 46%] 278s tests/test_emrserverless/test_server.py . [ 46%] 279s tests/test_es/test_domain_tags.py ..... [ 46%] 279s tests/test_es/test_es.py ................... [ 46%] 279s tests/test_es/test_server.py . [ 46%] 279s tests/test_events/test_event_pattern.py ............ [ 46%] 279s tests/test_events/test_events.py ....................................... [ 47%] 281s ........................................................................ [ 47%] 281s ... [ 47%] 281s tests/test_events/test_events_cloudformation.py ...... [ 47%] 281s tests/test_events/test_events_http_integration.py . [ 47%] 282s tests/test_events/test_events_integration.py ...... [ 47%] 297s tests/test_events/test_events_lambdatriggers_integration.py .... [ 48%] 297s tests/test_events/test_events_partners_integration.py ... [ 48%] 297s tests/test_firehose/test_firehose.py ....... [ 48%] 297s tests/test_firehose/test_firehose_destination_types.py ..... [ 48%] 297s tests/test_firehose/test_firehose_encryption.py .... [ 48%] 297s tests/test_firehose/test_firehose_put.py ..... [ 48%] 297s tests/test_firehose/test_firehose_tags.py ... [ 48%] 297s tests/test_firehose/test_http_destinations.py .. [ 48%] 298s tests/test_forecast/test_forecast.py ..................... [ 48%] 300s tests/test_fsx/test_fsx.py ...... [ 48%] 300s tests/test_glacier/test_glacier_archives.py ... [ 48%] 305s tests/test_glacier/test_glacier_jobs.py .... [ 48%] 305s tests/test_glacier/test_glacier_vaults.py .... [ 48%] 305s tests/test_glacier/test_server.py . [ 48%] 306s tests/test_glue/test_datacatalog.py .................................... [ 49%] 306s ................. [ 49%] 307s tests/test_glue/test_glue.py ........................................... [ 49%] 307s ............... [ 49%] 307s tests/test_glue/test_glue_job_runs.py ...... [ 49%] 307s tests/test_glue/test_partition_filter.py ....... [ 49%] 308s tests/test_glue/test_schema_registry.py ................................ [ 50%] 308s ..................................... [ 50%] 309s tests/test_greengrass/test_greengrass_core.py ............. [ 50%] 309s tests/test_greengrass/test_greengrass_deployment.py ............... [ 50%] 309s tests/test_greengrass/test_greengrass_device.py ............... [ 51%] 309s tests/test_greengrass/test_greengrass_functions.py ................ [ 51%] 310s tests/test_greengrass/test_greengrass_groups.py ........................ [ 51%] 310s ....... [ 51%] 310s tests/test_greengrass/test_greengrass_resource.py .................... [ 51%] 310s tests/test_greengrass/test_greengrass_subscriptions.py ................. [ 51%] 310s ...... [ 52%] 311s tests/test_guardduty/test_guardduty.py ........... [ 52%] 311s tests/test_guardduty/test_guardduty_filters.py ..... [ 52%] 311s tests/test_guardduty/test_guardduty_organization.py .. [ 52%] 311s tests/test_guardduty/test_server.py . [ 52%] 312s tests/test_iam/test_iam.py ............................................. [ 52%] 315s ........................................................................ [ 53%] 316s ...................................... [ 53%] 316s tests/test_iam/test_iam_access_integration.py ... [ 53%] 316s tests/test_iam/test_iam_account_aliases.py . [ 53%] 317s tests/test_iam/test_iam_cloudformation.py .............................. [ 54%] 317s  [ 54%] 318s tests/test_iam/test_iam_groups.py ....................... [ 54%] 318s tests/test_iam/test_iam_oidc.py .................. [ 54%] 318s tests/test_iam/test_iam_password_last_used.py . [ 54%] 318s tests/test_iam/test_iam_policies.py .................................... [ 54%] 319s ........................................................................ [ 55%] 319s ..................... [ 55%] 321s tests/test_iam/test_iam_resets.py .. [ 55%] 321s tests/test_iam/test_iam_server_certificates.py ..... [ 55%] 321s tests/test_iam/test_iam_signing_certificates.py ...... [ 56%] 321s tests/test_iam/test_server.py . [ 56%] 322s tests/test_identitystore/test_identitystore.py ......................... [ 56%] 322s .. [ 56%] 322s tests/test_inspector2/test_inspector2.py .. [ 56%] 322s tests/test_inspector2/test_inspector2_admin_accounts.py . [ 56%] 322s tests/test_inspector2/test_inspector2_enable.py . [ 56%] 322s tests/test_inspector2/test_inspector2_findings.py . [ 56%] 322s tests/test_inspector2/test_inspector2_members.py . [ 56%] 322s tests/test_inspector2/test_inspector2_organization.py . [ 56%] 322s tests/test_inspector2/test_inspector2_tags.py .. [ 56%] 322s tests/test_iot/test_iot.py .... [ 56%] 322s tests/test_iot/test_iot_ca_certificates.py .......... [ 56%] 323s tests/test_iot/test_iot_certificates.py .............. [ 56%] 324s tests/test_iot/test_iot_cloudformation.py ................. [ 56%] 324s tests/test_iot/test_iot_deprecate_thing_type.py .... [ 56%] 324s tests/test_iot/test_iot_domain_configuration.py ............ [ 57%] 324s tests/test_iot/test_iot_indexing_configuration.py .. [ 57%] 324s tests/test_iot/test_iot_integration.py . [ 57%] 324s tests/test_iot/test_iot_job_executions.py ...... [ 57%] 324s tests/test_iot/test_iot_job_templates.py ......... [ 57%] 324s tests/test_iot/test_iot_jobs.py ........ [ 57%] 325s tests/test_iot/test_iot_policies.py ................. [ 57%] 325s tests/test_iot/test_iot_rolealias.py ....... [ 57%] 325s tests/test_iot/test_iot_search.py ............. [ 57%] 326s tests/test_iot/test_iot_thing_groups.py ................. [ 57%] 326s tests/test_iot/test_iot_thing_types.py ..... [ 57%] 326s tests/test_iot/test_iot_things.py ....... [ 57%] 326s tests/test_iot/test_iot_topic_rules.py .......... [ 58%] 326s tests/test_iot/test_server.py ... [ 58%] 327s tests/test_iotdata/test_iotdata.py ................... [ 58%] 327s tests/test_iotdata/test_server.py ... [ 58%] 327s tests/test_ivs/test_ivs.py ................. [ 58%] 327s tests/test_kafka/test_kafka.py ..... [ 58%] 330s tests/test_kinesis/test_kinesis.py .................................. [ 58%] 331s tests/test_kinesis/test_kinesis_boto3.py ................ [ 59%] 331s tests/test_kinesis/test_kinesis_cloudformation.py .... [ 59%] 331s tests/test_kinesis/test_kinesis_encryption.py ... [ 59%] 331s tests/test_kinesis/test_kinesis_monitoring.py ..... [ 59%] 331s tests/test_kinesis/test_kinesis_resource_policy.py ..... [ 59%] 331s tests/test_kinesis/test_kinesis_stream_consumers.py ....... [ 59%] 331s tests/test_kinesis/test_kinesis_stream_limits.py ....... [ 59%] 331s tests/test_kinesis/test_server.py . [ 59%] 331s tests/test_kinesisvideo/test_kinesisvideo.py ........ [ 59%] 331s tests/test_kinesisvideo/test_server.py . [ 59%] 331s tests/test_kinesisvideoarchivedmedia/test_kinesisvideoarchivedmedia.py . [ 59%] 331s .. [ 59%] 331s tests/test_kinesisvideoarchivedmedia/test_server.py . [ 59%] 333s tests/test_kms/test_kms_boto3.py ....................................... [ 59%] 335s ........................................................................ [ 60%] 341s .......................................... [ 61%] 342s tests/test_kms/test_kms_encrypt.py ................... [ 61%] 342s tests/test_kms/test_kms_grants.py ....... [ 61%] 342s tests/test_kms/test_kms_key_rotation.py ....... [ 61%] 343s tests/test_kms/test_kms_mac.py ...... [ 61%] 343s tests/test_kms/test_kms_policy_enforcement.py ........................ [ 61%] 343s tests/test_kms/test_model.py .... [ 61%] 343s tests/test_kms/test_server.py . [ 61%] 343s tests/test_kms/test_utils.py ..................... [ 61%] 344s tests/test_lakeformation/test_lakeformation.py ................... [ 62%] 344s tests/test_lakeformation/test_permission.py .. [ 62%] 344s tests/test_lakeformation/test_resource_tags_integration.py ..... [ 62%] 344s tests/test_lexv2models/test_lexv2models.py ....... [ 62%] 344s tests/test_logs/test_export_tasks.py ......... [ 62%] 344s tests/test_logs/test_integration.py ..... [ 62%] 345s tests/test_logs/test_logs.py ........................................... [ 62%] 345s .................. [ 63%] 345s tests/test_logs/test_logs_cloudformation.py . [ 63%] 345s tests/test_logs/test_logs_filter_log_events.py ........ [ 63%] 346s tests/test_logs/test_logs_metric_filters.py ............ [ 63%] 346s tests/test_logs/test_logs_query/test_boto3.py .... [ 63%] 346s tests/test_logs/test_logs_query/test_query.py .. [ 63%] 346s tests/test_logs/test_logs_query/test_query_parser.py ........... [ 63%] 346s tests/test_logs/test_logs_tags.py .. [ 63%] 346s tests/test_logs/test_models.py . [ 63%] 346s tests/test_managedblockchain/test_managedblockchain_invitations.py ... [ 63%] 346s tests/test_managedblockchain/test_managedblockchain_members.py ......... [ 63%] 346s ...... [ 63%] 346s tests/test_managedblockchain/test_managedblockchain_networks.py ...... [ 63%] 346s tests/test_managedblockchain/test_managedblockchain_nodes.py ........... [ 63%] 346s ...... [ 63%] 346s tests/test_managedblockchain/test_managedblockchain_proposals.py ....... [ 63%] 346s .. [ 63%] 346s tests/test_managedblockchain/test_managedblockchain_proposalvotes.py ... [ 64%] 346s .......... [ 64%] 349s tests/test_mediaconnect/test_mediaconnect.py ...FFFFFFFFFFFFFFFFFFFFFFFF [ 64%] 349s F [ 64%] 349s tests/test_mediaconnect/test_server.py . [ 64%] 349s tests/test_medialive/test_medialive.py ............ [ 64%] 349s tests/test_medialive/test_server.py .. [ 64%] 349s tests/test_mediapackage/test_mediapackage.py .............. [ 64%] 349s tests/test_mediapackage/test_server.py .. [ 64%] 350s tests/test_mediastore/test_mediastore.py ..................... [ 64%] 350s tests/test_mediastore/test_server.py . [ 64%] 350s tests/test_mediastoredata/test_mediastoredata.py ...... [ 65%] 350s tests/test_mediastoredata/test_server.py . [ 65%] 350s tests/test_memorydb/test_memorydb.py ................................... [ 65%] 351s .............. [ 65%] 351s tests/test_meteringmarketplace/test_meteringmarketplace.py . [ 65%] 351s tests/test_moto_api/mock_random/test_mock_random.py ... [ 65%] 352s tests/test_moto_api/recorder/test_recorder.py ........ [ 65%] 352s tests/test_moto_api/seeder/test_seeder.py ... [ 65%] 352s tests/test_moto_api/state_manager/servermode/test_inmemory_server.py ... [ 65%] 352s  [ 65%] 352s tests/test_moto_api/state_manager/servermode/test_state_manager.py sss [ 65%] 352s tests/test_moto_api/state_manager/test_batch_integration.py . [ 65%] 354s tests/test_moto_api/state_manager/test_managed_state_model.py ....... [ 65%] 354s tests/test_moto_api/state_manager/test_state_manager.py ....... [ 65%] 354s tests/test_mq/test_mq.py ................ [ 66%] 354s tests/test_mq/test_mq_configuration.py ......... [ 66%] 354s tests/test_mq/test_mq_tags.py ..... [ 66%] 354s tests/test_mq/test_mq_users.py ....... [ 66%] 354s tests/test_mq/test_server.py . [ 66%] 355s tests/test_neptune/test_cluster_options.py . [ 66%] 355s tests/test_neptune/test_cluster_tags.py . [ 66%] 355s tests/test_neptune/test_clusters.py ....... [ 66%] 355s tests/test_neptune/test_global_clusters.py .... [ 66%] 355s tests/test_networkmanager/test_networkmanager.py ..................... [ 66%] 355s tests/test_networkmanager/test_server.py ... [ 66%] 355s tests/test_opensearch/test_domain_tags.py .. [ 66%] 355s tests/test_opensearch/test_opensearch.py .............. [ 66%] 355s tests/test_opensearchserverless/test_opensearchserverless.py ........... [ 66%] 355s ............ [ 67%] 356s tests/test_opsworks/test_apps.py FF [ 67%] 356s tests/test_opsworks/test_instances.py FFF [ 67%] 356s tests/test_opsworks/test_layers.py FF [ 67%] 356s tests/test_opsworks/test_stack.py FF [ 67%] 356s tests/test_organizations/test_organizations_boto3.py ................... [ 67%] 357s ........................................................................ [ 68%] 358s ................. [ 68%] 358s tests/test_osis/test_osis.py ................ [ 68%] 358s tests/test_osis/test_server.py . [ 68%] 358s tests/test_panorama/test_application_instance.py ...... [ 68%] 358s tests/test_panorama/test_nodes.py ... [ 68%] 358s tests/test_panorama/test_panorama_device.py ............... [ 68%] 358s tests/test_panorama/test_server.py . [ 68%] 358s tests/test_personalize/test_personalize_schema.py ........ [ 68%] 358s tests/test_pinpoint/test_pinpoint.py ....... [ 68%] 359s tests/test_pinpoint/test_pinpoint_application_tags.py .... [ 68%] 359s tests/test_pinpoint/test_pinpoint_event_stream.py ... [ 68%] 359s tests/test_polly/test_polly.py .............. [ 69%] 359s tests/test_polly/test_server.py . [ 69%] 359s tests/test_qldb/test_qldb.py EE [ 69%] 359s tests/test_quicksight/test_quicksight_datasets.py .. [ 69%] 359s tests/test_quicksight/test_quicksight_groups.py ............... [ 69%] 360s tests/test_quicksight/test_quicksight_users.py ....................... [ 69%] 361s tests/test_ram/test_ram.py ............ [ 69%] 361s tests/test_rds/test_db_cluster_param_group.py . [ 69%] 361s tests/test_rds/test_db_cluster_params.py . [ 69%] 361s tests/test_rds/test_filters.py .............................. [ 69%] 361s tests/test_rds/test_global_clusters.py ........ [ 69%] 363s tests/test_rds/test_rds.py ............................................. [ 70%] 365s ........................................................................ [ 71%] 366s ........................................................................ [ 71%] 367s .......... [ 72%] 367s tests/test_rds/test_rds_cloudformation.py ....... [ 72%] 368s tests/test_rds/test_rds_clusters.py .................................... [ 72%] 369s ........................................ [ 72%] 370s tests/test_rds/test_rds_clusters_with_instances.py ..... [ 72%] 370s tests/test_rds/test_rds_event_subscriptions.py ...... [ 72%] 370s tests/test_rds/test_rds_export_tasks.py ........ [ 73%] 370s tests/test_rds/test_rds_proxy.py FFFFF. [ 73%] 370s tests/test_rds/test_rds_proxy_target_groups.py ... [ 73%] 370s tests/test_rds/test_server.py .. [ 73%] 370s tests/test_rds/test_utils.py ................ [ 73%] 370s tests/test_rdsdata/test_rdsdata.py .. [ 73%] 371s tests/test_redshift/test_redshift.py ................................... [ 73%] 372s ............................... [ 74%] 372s tests/test_redshift/test_redshift_cloudformation.py . [ 74%] 372s tests/test_redshift/test_server.py .............. [ 74%] 372s tests/test_redshiftdata/test_redshiftdata.py ......... [ 74%] 372s tests/test_redshiftdata/test_server.py ........ [ 74%] 372s tests/test_rekognition/test_rekognition.py ........ [ 74%] 372s tests/test_resiliencehub/test_resiliencehub.py ........... [ 74%] 372s tests/test_resiliencehub/test_resiliencyhub_resources.py ..... [ 74%] 372s tests/test_resiliencehub/test_resiliencyhub_tagging.py .. [ 74%] 373s tests/test_resourcegroups/test_resourcegroups.py ............ [ 74%] 373s tests/test_resourcegroupstaggingapi/test_resourcegroupstagging_dynamodb.py . [ 74%] 373s . [ 74%] 373s tests/test_resourcegroupstaggingapi/test_resourcegroupstagging_glue.py . [ 74%] 373s  [ 74%] 373s tests/test_resourcegroupstaggingapi/test_resourcegroupstagging_logs.py . [ 74%] 373s . [ 74%] 373s tests/test_resourcegroupstaggingapi/test_resourcegroupstagging_rds.py .. [ 74%] 373s  [ 74%] 373s tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py ... [ 74%] 374s .............FFF............ [ 75%] 374s tests/test_resourcegroupstaggingapi/test_server.py . [ 75%] 374s tests/test_robomaker/test_robomaker.py F [ 75%] 374s tests/test_route53/test_change_set_model.py ... [ 75%] 376s tests/test_route53/test_route53.py ..................................... [ 75%] 376s .............. [ 75%] 376s tests/test_route53/test_route53_cloudformation.py ...... [ 75%] 376s tests/test_route53/test_route53_delegationsets.py ........ [ 75%] 377s tests/test_route53/test_route53_healthchecks.py .......... [ 75%] 377s tests/test_route53/test_route53_query_logging_config.py ...... [ 75%] 377s tests/test_route53/test_route53_vpcs.py ....... [ 76%] 377s tests/test_route53/test_server.py . [ 76%] 377s tests/test_route53domains/test_route53domains_domain.py ................ [ 76%] 377s ................ [ 76%] 378s tests/test_route53resolver/test_route53resolver_endpoint.py ............ [ 76%] 378s .......... [ 76%] 379s tests/test_route53resolver/test_route53resolver_rule.py ........... [ 76%] 379s tests/test_route53resolver/test_route53resolver_rule_associations.py ... [ 76%] 380s ........ [ 76%] 380s tests/test_route53resolver/test_route53resolver_tags.py .... [ 76%] 381s tests/test_s3/test_s3.py ............................................... [ 77%] 383s ........................................................................ [ 78%] 384s ....................................... [ 78%] 385s tests/test_s3/test_s3_acl.py .......................... [ 78%] 385s tests/test_s3/test_s3_auth.py .... [ 78%] 386s tests/test_s3/test_s3_bucket_policy.py ........... [ 78%] 386s tests/test_s3/test_s3_classdecorator.py . [ 78%] 386s tests/test_s3/test_s3_cloudformation.py ..... [ 78%] 386s tests/test_s3/test_s3_config.py ...... [ 79%] 388s tests/test_s3/test_s3_copyobject.py .................................... [ 79%] 388s  [ 79%] 388s tests/test_s3/test_s3_cross_account.py . [ 79%] 388s tests/test_s3/test_s3_custom_endpoint.py .......... [ 79%] 388s tests/test_s3/test_s3_encryption.py ...... [ 79%] 389s tests/test_s3/test_s3_eventbridge_integration.py .......... [ 79%] 413s tests/test_s3/test_s3_file_handles.py ........................ [ 79%] 413s tests/test_s3/test_s3_lambda_integration.py ...... [ 79%] 413s tests/test_s3/test_s3_lifecycle.py .......... [ 80%] 415s tests/test_s3/test_s3_list_object_versions.py ............ [ 80%] 415s tests/test_s3/test_s3_list_objects.py .. [ 80%] 415s tests/test_s3/test_s3_locales.py . [ 80%] 426s tests/test_s3/test_s3_lock.py ..F........... [ 80%] 427s tests/test_s3/test_s3_logging.py ........... [ 80%] 427s tests/test_s3/test_s3_metadata.py . [ 80%] 428s tests/test_s3/test_s3_multipart.py ..................................... [ 80%] 428s  [ 80%] 428s tests/test_s3/test_s3_notifications.py ............ [ 81%] 428s tests/test_s3/test_s3_object_attributes.py ........ [ 81%] 428s tests/test_s3/test_s3_ownership.py ... [ 81%] 428s tests/test_s3/test_s3_replication.py ....... [ 81%] 428s tests/test_s3/test_s3_storageclass.py ............ [ 81%] 429s tests/test_s3/test_s3_tagging.py ............ [ 81%] 429s tests/test_s3/test_s3_utils.py ........... [ 81%] 429s tests/test_s3/test_server.py ............. [ 81%] 429s tests/test_s3bucket_path/test_s3bucket_path_utils.py ... [ 81%] 429s tests/test_s3bucket_path/test_server.py ..... [ 81%] 429s tests/test_s3control/test_s3control.py . [ 81%] 429s tests/test_s3control/test_s3control_access_points.py .... [ 81%] 429s tests/test_s3control/test_s3control_accesspoint_policy.py ..... [ 81%] 431s tests/test_s3control/test_s3control_config_integration.py .. [ 81%] 431s tests/test_s3control/test_s3control_s3.py ... [ 81%] 431s tests/test_s3tables/test_s3tables.py ............F...F..F.FFFF.. [ 82%] 432s tests/test_s3tables/test_server.py .......F. [ 82%] 432s tests/test_sagemaker/test_sagemaker_automljobs.py ....... [ 82%] 432s tests/test_sagemaker/test_sagemaker_cloudformation.py .................. [ 82%] 432s .. [ 82%] 432s tests/test_sagemaker/test_sagemaker_cluster.py .......... [ 82%] 432s tests/test_sagemaker/test_sagemaker_compilation_jobs.py ........ [ 82%] 432s tests/test_sagemaker/test_sagemaker_data_quality_jobs_definitions.py ... [ 82%] 432s . [ 82%] 433s tests/test_sagemaker/test_sagemaker_domains.py ...... [ 82%] 433s tests/test_sagemaker/test_sagemaker_endpoint.py ................... [ 83%] 433s tests/test_sagemaker/test_sagemaker_experiment.py ..... [ 83%] 433s tests/test_sagemaker/test_sagemaker_feature_groups.py .. [ 83%] 433s tests/test_sagemaker/test_sagemaker_hyper_parameter_tuning_job.py ...... [ 83%] 433s . [ 83%] 434s tests/test_sagemaker/test_sagemaker_model_bias_job_definitions.py .... [ 83%] 436s tests/test_sagemaker/test_sagemaker_model_cards.py ......... [ 83%] 436s tests/test_sagemaker/test_sagemaker_model_expainability.py ....... [ 83%] 436s tests/test_sagemaker/test_sagemaker_model_package_groups.py ............ [ 83%] 436s  [ 83%] 436s tests/test_sagemaker/test_sagemaker_model_packages.py .................. [ 83%] 436s ....... [ 83%] 437s tests/test_sagemaker/test_sagemaker_model_quality.py ....... [ 83%] 437s tests/test_sagemaker/test_sagemaker_models.py .......... [ 83%] 437s tests/test_sagemaker/test_sagemaker_notebooks.py ......... [ 84%] 440s tests/test_sagemaker/test_sagemaker_pipeline.py ........................ [ 84%] 441s .................. [ 84%] 441s tests/test_sagemaker/test_sagemaker_processing.py .......... [ 84%] 441s tests/test_sagemaker/test_sagemaker_search.py ..... [ 84%] 441s tests/test_sagemaker/test_sagemaker_training.py ............ [ 84%] 442s tests/test_sagemaker/test_sagemaker_transform.py ............ [ 84%] 442s tests/test_sagemaker/test_sagemaker_trial.py ....... [ 84%] 443s tests/test_sagemaker/test_sagemaker_trial_component.py ........... [ 85%] 443s tests/test_sagemakermetrics/test_sagemakermetrics.py .. [ 85%] 443s tests/test_sagemakermetrics/test_server.py . [ 85%] 443s tests/test_sagemakerruntime/test_sagemakerruntime.py .... [ 85%] 443s tests/test_scheduler/test_schedule_groups.py ... [ 85%] 443s tests/test_scheduler/test_scheduler.py .................. [ 85%] 443s tests/test_scheduler/test_scheduler_tags.py .. [ 85%] 443s tests/test_scheduler/test_server.py . [ 85%] 443s tests/test_sdb/test_sdb_attributes.py ......... [ 85%] 443s tests/test_sdb/test_sdb_domains.py ................. [ 85%] 443s tests/test_sdb/test_server.py . [ 85%] 443s tests/test_secretsmanager/test_list_secrets.py ......................... [ 85%] 443s . [ 85%] 443s tests/test_secretsmanager/test_policy.py .... [ 85%] 444s tests/test_secretsmanager/test_rotate_simple_lambda.py .. [ 85%] 444s tests/test_secretsmanager/test_secrets_duplication.py .......... [ 86%] 444s tests/test_secretsmanager/test_secretsmanager.py ....................... [ 86%] 445s ......................................s............ss................... [ 87%] 445s .............. [ 87%] 445s tests/test_secretsmanager/test_server.py ............................. [ 87%] 445s tests/test_securityhub/test_securityhub.py ..... [ 87%] 445s tests/test_servicediscovery/test_server.py . [ 87%] 445s tests/test_servicediscovery/test_servicediscovery_httpnamespaces.py .... [ 87%] 446s .......... [ 87%] 446s tests/test_servicediscovery/test_servicediscovery_instance.py .......... [ 87%] 446s ... [ 87%] 446s tests/test_servicediscovery/test_servicediscovery_operations.py ....... [ 87%] 446s tests/test_servicediscovery/test_servicediscovery_service.py ....... [ 87%] 446s tests/test_servicediscovery/test_servicediscovery_tags.py ...... [ 87%] 446s tests/test_servicequotas/test_servicequotas.py .... [ 88%] 446s tests/test_ses/test_server.py .. [ 88%] 447s tests/test_ses/test_ses_boto3.py ....................................... [ 88%] 447s  [ 88%] 447s tests/test_ses/test_ses_sns_boto3.py ........ [ 88%] 447s tests/test_ses/test_ses_utils.py . [ 88%] 447s tests/test_ses/test_templating.py ......... [ 88%] 447s tests/test_sesv2/test_server.py . [ 88%] 448s tests/test_sesv2/test_sesv2.py .......................... [ 88%] 448s tests/test_shield/test_shield.py ...................... [ 89%] 448s tests/test_signer/test_signing_platforms.py . [ 89%] 448s tests/test_signer/test_signing_profiles.py .... [ 89%] 448s tests/test_sns/test_application_boto3.py ..................... [ 89%] 449s tests/test_sns/test_http_message_verification.py . [ 89%] 449s tests/test_sns/test_publish_batch.py ........ [ 89%] 451s tests/test_sns/test_publishing_boto3.py ................................ [ 89%] 455s ........................................................................ [ 90%] 455s ... [ 90%] 455s tests/test_sns/test_server.py . [ 90%] 455s tests/test_sns/test_sns_cloudformation.py ...... [ 90%] 462s tests/test_sns/test_subscriptions_boto3.py ................... [ 90%] 462s tests/test_sns/test_topics_boto3.py ......................... [ 91%] 462s tests/test_sns/test_utils.py ... [ 91%] 462s tests/test_special_cases/test_custom_amis.py . [ 91%] 470s tests/test_sqs/test_server.py ... [ 91%] 480s tests/test_sqs/test_sqs.py ............................................. [ 91%] 503s ........................................................................ [ 92%] 519s ........................ [ 92%] 520s tests/test_sqs/test_sqs_cloudformation.py ....... [ 92%] 520s tests/test_sqs/test_sqs_integration.py F [ 92%] 520s tests/test_sqs/test_sqs_multiaccount.py . [ 92%] 520s tests/test_ssm/test_ssm_boto3.py ....................................... [ 93%] 521s ................................................. [ 93%] 521s tests/test_ssm/test_ssm_cloudformation.py . [ 93%] 521s tests/test_ssm/test_ssm_default_amis.py .. [ 93%] 522s tests/test_ssm/test_ssm_defaults.py ... [ 93%] 522s tests/test_ssm/test_ssm_doc_permissions.py ...................... [ 93%] 523s tests/test_ssm/test_ssm_docs.py ........ [ 93%] 523s tests/test_ssm/test_ssm_ec2_integration.py . [ 93%] 523s tests/test_ssm/test_ssm_ecs_images.py . [ 93%] 523s tests/test_ssm/test_ssm_maintenance_windows.py ............ [ 94%] 524s tests/test_ssm/test_ssm_parameterstore.py ......... [ 94%] 524s tests/test_ssm/test_ssm_patch_baseline.py .. [ 94%] 524s tests/test_ssm/test_ssm_secretsmanager.py ...... [ 94%] 524s tests/test_ssm/test_ssm_utils.py ... [ 94%] 524s tests/test_ssoadmin/test_server.py . [ 94%] 524s tests/test_ssoadmin/test_ssoadmin.py .................. [ 94%] 524s tests/test_ssoadmin/test_ssoadmin_instances.py .. [ 94%] 524s tests/test_ssoadmin/test_ssoadmin_permission_sets.py .. [ 94%] 525s tests/test_ssoadmin/test_ssoadmin_policies.py ........... [ 94%] 525s tests/test_stepfunctions/test_stepfunctions.py ......................... [ 94%] 526s ....................... [ 95%] 526s tests/test_stepfunctions/test_stepfunctions_cloudformation.py ... [ 95%] 526s tests/test_stepfunctions/test_stepfunctions_versions.py ... [ 95%] 526s tests/test_sts/test_server.py .... [ 95%] 526s tests/test_sts/test_sts.py ...................... [ 95%] 526s tests/test_sts/test_sts_integration.py ... [ 95%] 526s tests/test_support/test_server.py .... [ 95%] 527s tests/test_support/test_support.py ..................................... [ 95%] 527s .... [ 95%] 527s tests/test_swf/models/test_activity_task.py ....... [ 96%] 527s tests/test_swf/models/test_decision_task.py ..... [ 96%] 527s tests/test_swf/models/test_domain.py ........ [ 96%] 527s tests/test_swf/models/test_generic_type.py .... [ 96%] 527s tests/test_swf/models/test_history_event.py ... [ 96%] 527s tests/test_swf/models/test_timeout.py . [ 96%] 527s tests/test_swf/models/test_timer.py .... [ 96%] 527s tests/test_swf/models/test_workflow_execution.py ....................... [ 96%] 528s ............ [ 96%] 530s tests/test_swf/responses/test_activity_tasks.py ............. [ 96%] 530s tests/test_swf/responses/test_activity_types.py ............. [ 96%] 536s tests/test_swf/responses/test_decision_tasks.py ....................... [ 97%] 536s tests/test_swf/responses/test_domains.py ............. [ 97%] 536s tests/test_swf/responses/test_timeouts.py ... [ 97%] 536s tests/test_swf/responses/test_workflow_executions.py .............. [ 97%] 536s tests/test_swf/responses/test_workflow_types.py ............. [ 97%] 537s tests/test_swf/test_exceptions.py ............ [ 97%] 537s tests/test_swf/test_utils.py . [ 97%] 537s tests/test_textract/test_server.py ..... [ 97%] 537s tests/test_textract/test_textract.py .... [ 97%] 537s tests/test_timestreaminfluxdb/test_timestreaminfluxdb.py ........... [ 97%] 537s tests/test_timestreaminfluxdb/test_timestreaminfluxdb_tagging.py ... [ 97%] 537s tests/test_timestreamquery/test_timestreamquery.py ..... [ 97%] 537s tests/test_timestreamwrite/test_server.py . [ 98%] 537s tests/test_timestreamwrite/test_timestreamwrite_database.py ....... [ 98%] 537s tests/test_timestreamwrite/test_timestreamwrite_table.py .......... [ 98%] 537s tests/test_timestreamwrite/test_timestreamwrite_tagging.py ..... [ 98%] 538s tests/test_transcribe/test_transcribe_boto3.py ....................... [ 98%] 538s tests/test_transfer/test_transfer.py ... [ 98%] 538s tests/test_utilities/test_docker_utilities.py ....... [ 98%] 538s tests/test_utilities/test_id_generator.py .......... [ 98%] 538s tests/test_utilities/test_paginator.py .................... [ 98%] 538s tests/test_utilities/test_tagging_service.py ........... [ 98%] 541s tests/test_utilities/test_threaded_server.py ..... [ 99%] 541s tests/test_utilities/test_utils.py .. [ 99%] 541s tests/test_wafv2/test_server.py .. [ 99%] 541s tests/test_wafv2/test_utils.py . [ 99%] 541s tests/test_wafv2/test_wafv2.py .......... [ 99%] 541s tests/test_wafv2/test_wafv2_integration.py .... [ 99%] 541s tests/test_wafv2/test_wafv2_logging_configuration.py .. [ 99%] 541s tests/test_wafv2/test_wafv2_rules.py ..... [ 99%] 541s tests/test_wafv2/test_wafv2_tags.py .... [ 99%] 543s tests/test_workspaces/test_workspaces.py F..FFFFFFFFFFF.FFFFFFF.FFFF.FF [ 99%] 543s tests/test_workspacesweb/test_workspacesweb.py ......................... [ 99%] 543s  [ 99%] 543s tests/test_xray/test_xray_boto3.py ...... [ 99%] 543s tests/test_xray/test_xray_client.py .... [100%] 543s 543s ==================================== ERRORS ==================================== 543s _______ ERROR at setup of test_create_describe_update_and_delete_ledger ________ 543s 543s @pytest.fixture(name="client") 543s def fixture_qldb_client(): 543s with mock_aws(): 543s > yield boto3.client("qldb", region_name="us-east-1") 543s 543s tests/test_qldb/test_qldb.py:18: 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 543s return _get_default_session().client(*args, **kwargs) 543s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 543s return self._session.create_client( 543s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 543s return func(*args, **kwargs) 543s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 543s client = client_creator.create_client( 543s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 543s service_model = self._load_service_model(service_name, api_version) 543s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 543s json_model = self._loader.load_service_model( 543s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 543s data = func(self, *args, **kwargs) 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s 543s self = , service_name = 'qldb' 543s type_name = 'service-2', api_version = None 543s 543s @instance_cache 543s def load_service_model(self, service_name, type_name, api_version=None): 543s  """Load a botocore service model 543s  543s  This is the main method for loading botocore models (e.g. a service 543s  model, pagination configs, waiter configs, etc.). 543s  543s  :type service_name: str 543s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 543s  543s  :type type_name: str 543s  :param type_name: The model type. Valid types include, but are not 543s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 543s  543s  :type api_version: str 543s  :param api_version: The API version to load. If this is not 543s  provided, then the latest API version will be used. 543s  543s  :type load_extras: bool 543s  :param load_extras: Whether or not to load the tool extras which 543s  contain additional data to be added to the model. 543s  543s  :raises: UnknownServiceError if there is no known service with 543s  the provided service_name. 543s  543s  :raises: DataNotFoundError if no data could be found for the 543s  service_name/type_name/api_version. 543s  543s  :return: The loaded data, as a python type (e.g. dict, list, etc). 543s  """ 543s # Wrapper around the load_data. This will calculate the path 543s # to call load_data with. 543s known_services = self.list_available_services(type_name) 543s if service_name not in known_services: 543s > raise UnknownServiceError( 543s service_name=service_name, 543s known_service_names=', '.join(sorted(known_services)), 543s ) 543s E botocore.exceptions.UnknownServiceError: Unknown service: 'qldb'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 543s 543s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 543s ________ ERROR at setup of test_tag_resource_and_list_tags_for_resource ________ 543s 543s @pytest.fixture(name="client") 543s def fixture_qldb_client(): 543s with mock_aws(): 543s > yield boto3.client("qldb", region_name="us-east-1") 543s 543s tests/test_qldb/test_qldb.py:18: 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 543s return _get_default_session().client(*args, **kwargs) 543s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 543s return self._session.create_client( 543s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 543s return func(*args, **kwargs) 543s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 543s client = client_creator.create_client( 543s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 543s service_model = self._load_service_model(service_name, api_version) 543s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 543s json_model = self._loader.load_service_model( 543s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 543s data = func(self, *args, **kwargs) 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s 543s self = , service_name = 'qldb' 543s type_name = 'service-2', api_version = None 543s 543s @instance_cache 543s def load_service_model(self, service_name, type_name, api_version=None): 543s  """Load a botocore service model 543s  543s  This is the main method for loading botocore models (e.g. a service 543s  model, pagination configs, waiter configs, etc.). 543s  543s  :type service_name: str 543s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 543s  543s  :type type_name: str 543s  :param type_name: The model type. Valid types include, but are not 543s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 543s  543s  :type api_version: str 543s  :param api_version: The API version to load. If this is not 543s  provided, then the latest API version will be used. 543s  543s  :type load_extras: bool 543s  :param load_extras: Whether or not to load the tool extras which 543s  contain additional data to be added to the model. 543s  543s  :raises: UnknownServiceError if there is no known service with 543s  the provided service_name. 543s  543s  :raises: DataNotFoundError if no data could be found for the 543s  service_name/type_name/api_version. 543s  543s  :return: The loaded data, as a python type (e.g. dict, list, etc). 543s  """ 543s # Wrapper around the load_data. This will calculate the path 543s # to call load_data with. 543s known_services = self.list_available_services(type_name) 543s if service_name not in known_services: 543s > raise UnknownServiceError( 543s service_name=service_name, 543s known_service_names=', '.join(sorted(known_services)), 543s ) 543s E botocore.exceptions.UnknownServiceError: Unknown service: 'qldb'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 543s 543s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 543s =================================== FAILURES =================================== 543s __________ test_event_source_mapping_create_from_cloudformation_json ___________ 543s 543s @mock_aws 543s def test_event_source_mapping_create_from_cloudformation_json(): 543s sqs = boto3.resource("sqs", region_name="us-east-1") 543s s3 = boto3.client("s3", "us-east-1") 543s cf = boto3.client("cloudformation", region_name="us-east-1") 543s lmbda = boto3.client("lambda", region_name="us-east-1") 543s  543s queue = sqs.create_queue(QueueName=str(uuid4())[0:6]) 543s  543s # Creates lambda 543s _, lambda_stack = create_stack(cf, s3) 543s created_fn_name = get_created_function_name(cf, lambda_stack) 543s created_fn_arn = lmbda.get_function(FunctionName=created_fn_name)["Configuration"][ 543s "FunctionArn" 543s ] 543s  543s esm_template = event_source_mapping_template.substitute( 543s { 543s "resource_name": "Foo", 543s "batch_size": 1, 543s "event_source_arn": queue.attributes["QueueArn"], 543s "function_name": created_fn_name, 543s "enabled": True, 543s } 543s ) 543s  543s cf.create_stack(StackName=random_stack_name(), TemplateBody=esm_template) 543s > event_sources = lmbda.list_event_source_mappings(FunctionName=created_fn_name) 543s 543s tests/test_awslambda/test_awslambda_cloudformation.py:184: 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 543s return self._make_api_call(operation_name, kwargs) 543s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 543s return func(*args, **kwargs) 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s 543s self = 543s operation_name = 'ListEventSourceMappings' 543s api_params = {'FunctionName': 'a59520-LF3ABOV-9O9K4UTYP7R9'} 543s 543s @with_current_context() 543s def _make_api_call(self, operation_name, api_params): 543s operation_model = self._service_model.operation_model(operation_name) 543s service_name = self._service_model.service_name 543s history_recorder.record( 543s 'API_CALL', 543s { 543s 'service': service_name, 543s 'operation': operation_name, 543s 'params': api_params, 543s }, 543s ) 543s if operation_model.deprecated: 543s logger.debug( 543s 'Warning: %s.%s() is deprecated', service_name, operation_name 543s ) 543s request_context = { 543s 'client_region': self.meta.region_name, 543s 'client_config': self.meta.config, 543s 'has_streaming_input': operation_model.has_streaming_input, 543s 'auth_type': operation_model.resolved_auth_type, 543s 'unsigned_payload': operation_model.unsigned_payload, 543s 'auth_options': self._service_model.metadata.get('auth'), 543s } 543s  543s api_params = self._emit_api_params( 543s api_params=api_params, 543s operation_model=operation_model, 543s context=request_context, 543s ) 543s ( 543s endpoint_url, 543s additional_headers, 543s properties, 543s ) = self._resolve_endpoint_ruleset( 543s operation_model, api_params, request_context 543s ) 543s if properties: 543s # Pass arbitrary endpoint info with the Request 543s # for use during construction. 543s request_context['endpoint_properties'] = properties 543s request_dict = self._convert_to_request_dict( 543s api_params=api_params, 543s operation_model=operation_model, 543s endpoint_url=endpoint_url, 543s context=request_context, 543s headers=additional_headers, 543s ) 543s resolve_checksum_context(request_dict, operation_model, api_params) 543s  543s service_id = self._service_model.service_id.hyphenize() 543s handler, event_response = self.meta.events.emit_until_response( 543s f'before-call.{service_id}.{operation_name}', 543s model=operation_model, 543s params=request_dict, 543s request_signer=self._request_signer, 543s context=request_context, 543s ) 543s  543s if event_response is not None: 543s http, parsed_response = event_response 543s else: 543s maybe_compress_request( 543s self.meta.config, request_dict, operation_model 543s ) 543s apply_request_checksum(request_dict) 543s http, parsed_response = self._make_request( 543s operation_model, request_dict, request_context 543s ) 543s  543s self.meta.events.emit( 543s f'after-call.{service_id}.{operation_name}', 543s http_response=http, 543s parsed=parsed_response, 543s model=operation_model, 543s context=request_context, 543s ) 543s  543s if http.status_code >= 300: 543s error_info = parsed_response.get("Error", {}) 543s error_code = request_context.get( 543s 'error_code_override' 543s ) or error_info.get("Code") 543s error_class = self.exceptions.from_code(error_code) 543s > raise error_class(parsed_response, operation_name) 543s E botocore.exceptions.ClientError: An error occurred (404) when calling the ListEventSourceMappings operation: Not yet implemented 543s 543s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 543s ____________________ test_event_source_mapping_delete_stack ____________________ 543s 543s @mock_aws 543s def test_event_source_mapping_delete_stack(): 543s sqs = boto3.resource("sqs", region_name="us-east-1") 543s s3 = boto3.client("s3", "us-east-1") 543s cf = boto3.client("cloudformation", region_name="us-east-1") 543s lmbda = boto3.client("lambda", region_name="us-east-1") 543s  543s queue = sqs.create_queue(QueueName=str(uuid4())[0:6]) 543s  543s # Creates lambda 543s _, lambda_stack = create_stack(cf, s3) 543s created_fn_name = get_created_function_name(cf, lambda_stack) 543s  543s esm_template = event_source_mapping_template.substitute( 543s { 543s "resource_name": "Foo", 543s "batch_size": 1, 543s "event_source_arn": queue.attributes["QueueArn"], 543s "function_name": created_fn_name, 543s "enabled": True, 543s } 543s ) 543s  543s esm_stack = cf.create_stack( 543s StackName=random_stack_name(), TemplateBody=esm_template 543s ) 543s > event_sources = lmbda.list_event_source_mappings(FunctionName=created_fn_name) 543s 543s tests/test_awslambda/test_awslambda_cloudformation.py:218: 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 543s return self._make_api_call(operation_name, kwargs) 543s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 543s return func(*args, **kwargs) 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s 543s self = 543s operation_name = 'ListEventSourceMappings' 543s api_params = {'FunctionName': 'f44c27-LF3ABOV-3WNWWZPIU8V1'} 543s 543s @with_current_context() 543s def _make_api_call(self, operation_name, api_params): 543s operation_model = self._service_model.operation_model(operation_name) 543s service_name = self._service_model.service_name 543s history_recorder.record( 543s 'API_CALL', 543s { 543s 'service': service_name, 543s 'operation': operation_name, 543s 'params': api_params, 543s }, 543s ) 543s if operation_model.deprecated: 543s logger.debug( 543s 'Warning: %s.%s() is deprecated', service_name, operation_name 543s ) 543s request_context = { 543s 'client_region': self.meta.region_name, 543s 'client_config': self.meta.config, 543s 'has_streaming_input': operation_model.has_streaming_input, 543s 'auth_type': operation_model.resolved_auth_type, 543s 'unsigned_payload': operation_model.unsigned_payload, 543s 'auth_options': self._service_model.metadata.get('auth'), 543s } 543s  543s api_params = self._emit_api_params( 543s api_params=api_params, 543s operation_model=operation_model, 543s context=request_context, 543s ) 543s ( 543s endpoint_url, 543s additional_headers, 543s properties, 543s ) = self._resolve_endpoint_ruleset( 543s operation_model, api_params, request_context 543s ) 543s if properties: 543s # Pass arbitrary endpoint info with the Request 543s # for use during construction. 543s request_context['endpoint_properties'] = properties 543s request_dict = self._convert_to_request_dict( 543s api_params=api_params, 543s operation_model=operation_model, 543s endpoint_url=endpoint_url, 543s context=request_context, 543s headers=additional_headers, 543s ) 543s resolve_checksum_context(request_dict, operation_model, api_params) 543s  543s service_id = self._service_model.service_id.hyphenize() 543s handler, event_response = self.meta.events.emit_until_response( 543s f'before-call.{service_id}.{operation_name}', 543s model=operation_model, 543s params=request_dict, 543s request_signer=self._request_signer, 543s context=request_context, 543s ) 543s  543s if event_response is not None: 543s http, parsed_response = event_response 543s else: 543s maybe_compress_request( 543s self.meta.config, request_dict, operation_model 543s ) 543s apply_request_checksum(request_dict) 543s http, parsed_response = self._make_request( 543s operation_model, request_dict, request_context 543s ) 543s  543s self.meta.events.emit( 543s f'after-call.{service_id}.{operation_name}', 543s http_response=http, 543s parsed=parsed_response, 543s model=operation_model, 543s context=request_context, 543s ) 543s  543s if http.status_code >= 300: 543s error_info = parsed_response.get("Error", {}) 543s error_code = request_context.get( 543s 'error_code_override' 543s ) or error_info.get("Code") 543s error_class = self.exceptions.from_code(error_code) 543s > raise error_class(parsed_response, operation_name) 543s E botocore.exceptions.ClientError: An error occurred (404) when calling the ListEventSourceMappings operation: Not yet implemented 543s 543s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 543s __________ test_event_source_mapping_update_from_cloudformation_json ___________ 543s 543s @mock_aws 543s def test_event_source_mapping_update_from_cloudformation_json(): 543s sqs = boto3.resource("sqs", region_name="us-east-1") 543s s3 = boto3.client("s3", "us-east-1") 543s cf = boto3.client("cloudformation", region_name="us-east-1") 543s lmbda = boto3.client("lambda", region_name="us-east-1") 543s  543s queue = sqs.create_queue(QueueName=str(uuid4())[0:6]) 543s  543s # Creates lambda 543s _, lambda_stack = create_stack(cf, s3) 543s created_fn_name = get_created_function_name(cf, lambda_stack) 543s  543s original_template = event_source_mapping_template.substitute( 543s { 543s "resource_name": "Foo", 543s "batch_size": 1, 543s "event_source_arn": queue.attributes["QueueArn"], 543s "function_name": created_fn_name, 543s "enabled": True, 543s } 543s ) 543s  543s stack_name = random_stack_name() 543s cf.create_stack(StackName=stack_name, TemplateBody=original_template) 543s > event_sources = lmbda.list_event_source_mappings(FunctionName=created_fn_name) 543s 543s tests/test_awslambda/test_awslambda_cloudformation.py:253: 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 543s return self._make_api_call(operation_name, kwargs) 543s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 543s return func(*args, **kwargs) 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s 543s self = 543s operation_name = 'ListEventSourceMappings' 543s api_params = {'FunctionName': 'e6a5d0-LF3ABOV-SYPV2MS284DV'} 543s 543s @with_current_context() 543s def _make_api_call(self, operation_name, api_params): 543s operation_model = self._service_model.operation_model(operation_name) 543s service_name = self._service_model.service_name 543s history_recorder.record( 543s 'API_CALL', 543s { 543s 'service': service_name, 543s 'operation': operation_name, 543s 'params': api_params, 543s }, 543s ) 543s if operation_model.deprecated: 543s logger.debug( 543s 'Warning: %s.%s() is deprecated', service_name, operation_name 543s ) 543s request_context = { 543s 'client_region': self.meta.region_name, 543s 'client_config': self.meta.config, 543s 'has_streaming_input': operation_model.has_streaming_input, 543s 'auth_type': operation_model.resolved_auth_type, 543s 'unsigned_payload': operation_model.unsigned_payload, 543s 'auth_options': self._service_model.metadata.get('auth'), 543s } 543s  543s api_params = self._emit_api_params( 543s api_params=api_params, 543s operation_model=operation_model, 543s context=request_context, 543s ) 543s ( 543s endpoint_url, 543s additional_headers, 543s properties, 543s ) = self._resolve_endpoint_ruleset( 543s operation_model, api_params, request_context 543s ) 543s if properties: 543s # Pass arbitrary endpoint info with the Request 543s # for use during construction. 543s request_context['endpoint_properties'] = properties 543s request_dict = self._convert_to_request_dict( 543s api_params=api_params, 543s operation_model=operation_model, 543s endpoint_url=endpoint_url, 543s context=request_context, 543s headers=additional_headers, 543s ) 543s resolve_checksum_context(request_dict, operation_model, api_params) 543s  543s service_id = self._service_model.service_id.hyphenize() 543s handler, event_response = self.meta.events.emit_until_response( 543s f'before-call.{service_id}.{operation_name}', 543s model=operation_model, 543s params=request_dict, 543s request_signer=self._request_signer, 543s context=request_context, 543s ) 543s  543s if event_response is not None: 543s http, parsed_response = event_response 543s else: 543s maybe_compress_request( 543s self.meta.config, request_dict, operation_model 543s ) 543s apply_request_checksum(request_dict) 543s http, parsed_response = self._make_request( 543s operation_model, request_dict, request_context 543s ) 543s  543s self.meta.events.emit( 543s f'after-call.{service_id}.{operation_name}', 543s http_response=http, 543s parsed=parsed_response, 543s model=operation_model, 543s context=request_context, 543s ) 543s  543s if http.status_code >= 300: 543s error_info = parsed_response.get("Error", {}) 543s error_code = request_context.get( 543s 'error_code_override' 543s ) or error_info.get("Code") 543s error_class = self.exceptions.from_code(error_code) 543s > raise error_class(parsed_response, operation_name) 543s E botocore.exceptions.ClientError: An error occurred (404) when calling the ListEventSourceMappings operation: Not yet implemented 543s 543s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 543s __________ test_event_source_mapping_delete_from_cloudformation_json ___________ 543s 543s @mock_aws 543s def test_event_source_mapping_delete_from_cloudformation_json(): 543s sqs = boto3.resource("sqs", region_name="us-east-1") 543s s3 = boto3.client("s3", "us-east-1") 543s cf = boto3.client("cloudformation", region_name="us-east-1") 543s lmbda = boto3.client("lambda", region_name="us-east-1") 543s  543s queue = sqs.create_queue(QueueName=str(uuid4())[0:6]) 543s  543s # Creates lambda 543s _, lambda_stack = create_stack(cf, s3) 543s created_fn_name = get_created_function_name(cf, lambda_stack) 543s  543s original_template = event_source_mapping_template.substitute( 543s { 543s "resource_name": "Foo", 543s "batch_size": 1, 543s "event_source_arn": queue.attributes["QueueArn"], 543s "function_name": created_fn_name, 543s "enabled": True, 543s } 543s ) 543s  543s stack_name = random_stack_name() 543s cf.create_stack(StackName=stack_name, TemplateBody=original_template) 543s > event_sources = lmbda.list_event_source_mappings(FunctionName=created_fn_name) 543s 543s tests/test_awslambda/test_awslambda_cloudformation.py:303: 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 543s return self._make_api_call(operation_name, kwargs) 543s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 543s return func(*args, **kwargs) 543s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 543s 543s self = 543s operation_name = 'ListEventSourceMappings' 543s api_params = {'FunctionName': '5c366f-LF3ABOV-GDLQXPV84SGK'} 543s 543s @with_current_context() 543s def _make_api_call(self, operation_name, api_params): 543s operation_model = self._service_model.operation_model(operation_name) 543s service_name = self._service_model.service_name 543s history_recorder.record( 543s 'API_CALL', 543s { 543s 'service': service_name, 543s 'operation': operation_name, 543s 'params': api_params, 543s }, 543s ) 543s if operation_model.deprecated: 543s logger.debug( 543s 'Warning: %s.%s() is deprecated', service_name, operation_name 543s ) 543s request_context = { 543s 'client_region': self.meta.region_name, 543s 'client_config': self.meta.config, 543s 'has_streaming_input': operation_model.has_streaming_input, 543s 'auth_type': operation_model.resolved_auth_type, 543s 'unsigned_payload': operation_model.unsigned_payload, 543s 'auth_options': self._service_model.metadata.get('auth'), 543s } 543s  543s api_params = self._emit_api_params( 543s api_params=api_params, 543s operation_model=operation_model, 543s context=request_context, 543s ) 543s ( 543s endpoint_url, 543s additional_headers, 543s properties, 543s ) = self._resolve_endpoint_ruleset( 543s operation_model, api_params, request_context 543s ) 543s if properties: 543s # Pass arbitrary endpoint info with the Request 543s # for use during construction. 543s request_context['endpoint_properties'] = properties 543s request_dict = self._convert_to_request_dict( 543s api_params=api_params, 543s operation_model=operation_model, 543s endpoint_url=endpoint_url, 543s context=request_context, 543s headers=additional_headers, 543s ) 543s resolve_checksum_context(request_dict, operation_model, api_params) 543s  543s service_id = self._service_model.service_id.hyphenize() 543s handler, event_response = self.meta.events.emit_until_response( 543s f'before-call.{service_id}.{operation_name}', 543s model=operation_model, 543s params=request_dict, 543s request_signer=self._request_signer, 543s context=request_context, 543s ) 543s  543s if event_response is not None: 543s http, parsed_response = event_response 543s else: 543s maybe_compress_request( 543s self.meta.config, request_dict, operation_model 543s ) 543s apply_request_checksum(request_dict) 543s http, parsed_response = self._make_request( 543s operation_model, request_dict, request_context 543s ) 543s  543s self.meta.events.emit( 543s f'after-call.{service_id}.{operation_name}', 543s http_response=http, 543s parsed=parsed_response, 543s model=operation_model, 543s context=request_context, 543s ) 543s  543s if http.status_code >= 300: 543s error_info = parsed_response.get("Error", {}) 543s error_code = request_context.get( 543s 'error_code_override' 543s ) or error_info.get("Code") 543s error_class = self.exceptions.from_code(error_code) 543s > raise error_class(parsed_response, operation_name) 543s E botocore.exceptions.ClientError: An error occurred (404) when calling the ListEventSourceMappings operation: Not yet implemented 543s 543s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 543s _______________________ test_create_event_source_mapping _______________________ 543s 543s @mock_aws 543s def test_create_event_source_mapping(): 543s function_name = str(uuid.uuid4())[0:6] 543s sqs = boto3.resource("sqs", region_name="us-east-1") 543s queue = sqs.create_queue(QueueName=f"{function_name}_queue") 543s  543s conn = boto3.client("lambda", region_name="us-east-1") 543s func = conn.create_function( 543s FunctionName=function_name, 543s Runtime=PYTHON_VERSION, 543s Role=get_role_name(), 543s Handler="lambda_function.lambda_handler", 543s Code={"ZipFile": get_test_zip_file3()}, 543s Description="test lambda function", 543s Timeout=3, 543s MemorySize=128, 543s Publish=True, 543s ) 543s  543s destination_config = { 543s "OnSuccess": {"Destination": "s3"}, 543s "OnFailure": {"Destination": "s4"}, 543s } 543s doc_db_config = { 543s "DatabaseName": "db", 543s "CollectionName": "cn", 543s "FullDocument": "UpdateLookup", 543s } 543s > response = conn.create_event_source_mapping( 543s EventSourceArn=queue.attributes["QueueArn"], 543s FunctionName=func["FunctionArn"], 543s BatchSize=1, 543s FilterCriteria={ 543s "Filters": [{"Pattern": r"asdf"}], 543s }, 543s MaximumBatchingWindowInSeconds=5, 543s ParallelizationFactor=4, 543s StartingPosition="AT_TIMESTAMP", 543s DestinationConfig=destination_config, 543s MaximumRecordAgeInSeconds=59, 543s BisectBatchOnFunctionError=True, 543s MaximumRetryAttempts=9000, 543s Tags={"k1": "v1"}, 543s TumblingWindowInSeconds=100, 543s Topics=["t1", "T2"], 543s Queues=["q1", "q2"], 543s SourceAccessConfigurations=[ 543s {"Type": "BASIC_AUTH", "URI": "http://auth.endpoint"}, 543s ], 543s SelfManagedEventSource={ 543s "Endpoints": { 543s "key": ["v1"], 543s }, 543s }, 543s FunctionResponseTypes=["ReportBatchItemFailures"], 543s AmazonManagedKafkaEventSourceConfig={"ConsumerGroupId": "cgid"}, 544s SelfManagedKafkaEventSourceConfig={"ConsumerGroupId": "cgid2"}, 544s ScalingConfig={"MaximumConcurrency": 100}, 544s DocumentDBEventSourceConfig=doc_db_config, 544s KMSKeyArn="arn:kms:key", 544s MetricsConfig={"Metrics": ["EventCount"]}, 544s ProvisionedPollerConfig={"MinimumPollers": 12, "MaximumPollers": 13}, 544s ) 544s 544s tests/test_awslambda/test_lambda_eventsourcemapping.py:51: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'CreateEventSourceMapping' 544s api_params = {'AmazonManagedKafkaEventSourceConfig': {'ConsumerGroupId': 'cgid'}, 'BatchSize': 1, 'BisectBatchOnFunctionError': True, 'DestinationConfig': {'OnFailure': {'Destination': 's4'}, 'OnSuccess': {'Destination': 's3'}}, ...} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s _______________________ test_list_event_source_mappings ________________________ 544s 544s @mock_aws 544s def test_list_event_source_mappings(): 544s function_name = str(uuid.uuid4())[0:6] 544s sqs = boto3.resource("sqs", region_name="us-east-1") 544s queue = sqs.create_queue(QueueName=f"{function_name}_queue") 544s  544s conn = boto3.client("lambda", region_name="us-east-1") 544s func = conn.create_function( 544s FunctionName=function_name, 544s Runtime=PYTHON_VERSION, 544s Role=get_role_name(), 544s Handler="lambda_function.lambda_handler", 544s Code={"ZipFile": get_test_zip_file3()}, 544s Description="test lambda function", 544s Timeout=3, 544s MemorySize=128, 544s Publish=True, 544s ) 544s > response = conn.create_event_source_mapping( 544s EventSourceArn=queue.attributes["QueueArn"], FunctionName=func["FunctionArn"] 544s ) 544s 544s tests/test_awslambda/test_lambda_eventsourcemapping.py:473: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'CreateEventSourceMapping' 544s api_params = {'EventSourceArn': 'arn:aws:sqs:us-east-1:123456789012:d843bd_queue', 'FunctionName': 'arn:aws:lambda:us-east-1:123456789012:function:d843bd'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s ________________________ test_get_event_source_mapping _________________________ 544s 544s @mock_aws 544s def test_get_event_source_mapping(): 544s function_name = str(uuid.uuid4())[0:6] 544s sqs = boto3.resource("sqs", region_name="us-east-1") 544s queue = sqs.create_queue(QueueName=f"{function_name}_queue") 544s  544s conn = boto3.client("lambda", region_name="us-east-1") 544s func = conn.create_function( 544s FunctionName=function_name, 544s Runtime=PYTHON_VERSION, 544s Role=get_role_name(), 544s Handler="lambda_function.lambda_handler", 544s Code={"ZipFile": get_test_zip_file3()}, 544s Description="test lambda function", 544s Timeout=3, 544s MemorySize=128, 544s Publish=True, 544s ) 544s > response = conn.create_event_source_mapping( 544s EventSourceArn=queue.attributes["QueueArn"], FunctionName=func["FunctionArn"] 544s ) 544s 544s tests/test_awslambda/test_lambda_eventsourcemapping.py:505: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'CreateEventSourceMapping' 544s api_params = {'EventSourceArn': 'arn:aws:sqs:us-east-1:123456789012:2cfdba_queue', 'FunctionName': 'arn:aws:lambda:us-east-1:123456789012:function:2cfdba'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s _______________________ test_update_event_source_mapping _______________________ 544s 544s @mock_aws 544s def test_update_event_source_mapping(): 544s function_name = str(uuid.uuid4())[0:6] 544s sqs = boto3.resource("sqs", region_name="us-east-1") 544s queue = sqs.create_queue(QueueName=f"{function_name}_queue") 544s  544s conn = boto3.client("lambda", region_name="us-east-1") 544s func1 = conn.create_function( 544s FunctionName=function_name, 544s Runtime=PYTHON_VERSION, 544s Role=get_role_name(), 544s Handler="lambda_function.lambda_handler", 544s Code={"ZipFile": get_test_zip_file3()}, 544s Description="test lambda function", 544s Timeout=3, 544s MemorySize=128, 544s Publish=True, 544s ) 544s func2 = conn.create_function( 544s FunctionName="testFunction2", 544s Runtime=PYTHON_VERSION, 544s Role=get_role_name(), 544s Handler="lambda_function.lambda_handler", 544s Code={"ZipFile": get_test_zip_file3()}, 544s Description="test lambda function", 544s Timeout=3, 544s MemorySize=128, 544s Publish=True, 544s ) 544s > response = conn.create_event_source_mapping( 544s EventSourceArn=queue.attributes["QueueArn"], FunctionName=func1["FunctionArn"] 544s ) 544s 544s tests/test_awslambda/test_lambda_eventsourcemapping.py:548: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'CreateEventSourceMapping' 544s api_params = {'EventSourceArn': 'arn:aws:sqs:us-east-1:123456789012:c78ea4_queue', 'FunctionName': 'arn:aws:lambda:us-east-1:123456789012:function:c78ea4'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s _______________________ test_delete_event_source_mapping _______________________ 544s 544s @mock_aws 544s def test_delete_event_source_mapping(): 544s function_name = str(uuid.uuid4())[0:6] 544s sqs = boto3.resource("sqs", region_name="us-east-1") 544s queue = sqs.create_queue(QueueName=f"{function_name}_queue") 544s  544s conn = boto3.client("lambda", region_name="us-east-1") 544s func1 = conn.create_function( 544s FunctionName=function_name, 544s Runtime=PYTHON_VERSION, 544s Role=get_role_name(), 544s Handler="lambda_function.lambda_handler", 544s Code={"ZipFile": get_test_zip_file3()}, 544s Description="test lambda function", 544s Timeout=3, 544s MemorySize=128, 544s Publish=True, 544s ) 544s > response = conn.create_event_source_mapping( 544s EventSourceArn=queue.attributes["QueueArn"], FunctionName=func1["FunctionArn"] 544s ) 544s 544s tests/test_awslambda/test_lambda_eventsourcemapping.py:635: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'CreateEventSourceMapping' 544s api_params = {'EventSourceArn': 'arn:aws:sqs:us-east-1:123456789012:65e369_queue', 'FunctionName': 'arn:aws:lambda:us-east-1:123456789012:function:65e369'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s _________________________ test_describe_flow_succeeds __________________________ 544s 544s @mock_aws 544s def test_describe_flow_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s flow_arn = create_response["Flow"]["FlowArn"] 544s > describe_response = client.describe_flow(FlowArn=flow_arn) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:157: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s __________________________ test_delete_flow_succeeds ___________________________ 544s 544s @mock_aws 544s def test_delete_flow_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s flow_arn = create_response["Flow"]["FlowArn"] 544s > delete_response = client.delete_flow(FlowArn=flow_arn) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:170: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:49: in delete_flow 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ________________________ test_start_stop_flow_succeeds _________________________ 544s 544s @mock_aws 544s def test_start_stop_flow_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > start_response = client.start_flow(FlowArn=flow_arn) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:186: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:54: in start_flow 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ______________________________ test_unknown_flow _______________________________ 544s 544s @mock_aws 544s def test_unknown_flow(): 544s client = boto3.client("mediaconnect", region_name=region) 544s  544s with pytest.raises(ClientError) as exc: 544s > client.describe_flow(FlowArn="unknown") 544s 544s tests/test_mediaconnect/test_mediaconnect.py:210: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s __________________________ test_tag_resource_succeeds __________________________ 544s 544s @mock_aws 544s def test_tag_resource_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s  544s > tag_response = client.tag_resource(ResourceArn="some-arn", Tags={"Tag1": "Value1"}) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:234: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:64: in tag_resource 544s resource_arn = unquote(self._get_param("resourceArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ____________________ test_add_flow_vpc_interfaces_succeeds _____________________ 544s 544s @mock_aws 544s def test_add_flow_vpc_interfaces_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > client.add_flow_vpc_interfaces( 544s FlowArn=flow_arn, 544s VpcInterfaces=[ 544s { 544s "Name": "VPCInterface", 544s "SubnetId": "", 544s "SecurityGroupIds": [], 544s "RoleArn": "", 544s } 544s ], 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:252: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:75: in add_flow_vpc_interfaces 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ______________________ test_add_flow_vpc_interfaces_fails ______________________ 544s 544s @mock_aws 544s def test_add_flow_vpc_interfaces_fails(): 544s client = boto3.client("mediaconnect", region_name=region) 544s flow_arn = "unknown-flow" 544s with pytest.raises(ClientError) as err: 544s > client.add_flow_vpc_interfaces(FlowArn=flow_arn, VpcInterfaces=[]) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:281: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:75: in add_flow_vpc_interfaces 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ___________________ test_remove_flow_vpc_interface_succeeds ____________________ 544s 544s @mock_aws 544s def test_remove_flow_vpc_interface_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > client.add_flow_vpc_interfaces( 544s FlowArn=flow_arn, 544s VpcInterfaces=[ 544s { 544s "Name": "VPCInterface", 544s "SubnetId": "", 544s "SecurityGroupIds": [], 544s "RoleArn": "", 544s } 544s ], 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:297: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:75: in add_flow_vpc_interfaces 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s _____________________ test_remove_flow_vpc_interface_fails _____________________ 544s 544s @mock_aws 544s def test_remove_flow_vpc_interface_fails(): 544s client = boto3.client("mediaconnect", region_name=region) 544s flow_arn = "unknown-flow" 544s with pytest.raises(ClientError) as err: 544s > client.remove_flow_vpc_interface( 544s FlowArn=flow_arn, VpcInterfaceName="VPCInterface" 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:324: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:85: in remove_flow_vpc_interface 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ________________________ test_add_flow_outputs_succeeds ________________________ 544s 544s @mock_aws 544s def test_add_flow_outputs_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > client.add_flow_outputs( 544s FlowArn=flow_arn, 544s Outputs=[ 544s {"Description": "string", "Name": "string", "Port": 123, "Protocol": "rist"} 544s ], 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:342: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:95: in add_flow_outputs 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s _________________________ test_add_flow_outputs_fails __________________________ 544s 544s @mock_aws 544s def test_add_flow_outputs_fails(): 544s client = boto3.client("mediaconnect", region_name=region) 544s flow_arn = "unknown-flow" 544s with pytest.raises(ClientError) as err: 544s > client.add_flow_outputs(FlowArn=flow_arn, Outputs=[]) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:360: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:95: in add_flow_outputs 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s _______________________ test_update_flow_output_succeeds _______________________ 544s 544s @mock_aws 544s def test_update_flow_output_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s output_arn = create_response["Flow"]["Outputs"][0]["OutputArn"] 544s  544s > update_response = client.update_flow_output( 544s FlowArn=flow_arn, OutputArn=output_arn, Description="new description" 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:377: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:111: in update_flow_output 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ________________________ test_update_flow_output_fails _________________________ 544s 544s @mock_aws 544s def test_update_flow_output_fails(): 544s client = boto3.client("mediaconnect", region_name=region) 544s flow_arn = "unknown-flow" 544s with pytest.raises(ClientError) as err: 544s > client.update_flow_output( 544s FlowArn=flow_arn, 544s OutputArn="some-arn", 544s Description="new description", 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:388: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:111: in update_flow_output 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ________________________ test_remove_flow_output_fails _________________________ 544s 544s @mock_aws 544s def test_remove_flow_output_fails(): 544s client = boto3.client("mediaconnect", region_name=region) 544s flow_arn = "unknown-flow" 544s output_arn = "unknown-arn" 544s with pytest.raises(ClientError) as err: 544s > client.remove_flow_output(FlowArn=flow_arn, OutputArn=output_arn) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:404: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:103: in remove_flow_output 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s _______________________ test_remove_flow_output_succeeds _______________________ 544s 544s @mock_aws 544s def test_remove_flow_output_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > client.add_flow_outputs( 544s FlowArn=flow_arn, 544s Outputs=[ 544s {"Description": "string", "Name": "string", "Port": 123, "Protocol": "rist"} 544s ], 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:420: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:95: in add_flow_outputs 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s _________________________ test_add_flow_sources_fails __________________________ 544s 544s @mock_aws 544s def test_add_flow_sources_fails(): 544s client = boto3.client("mediaconnect", region_name=region) 544s flow_arn = "unknown-flow" 544s with pytest.raises(ClientError) as err: 544s > client.add_flow_sources(FlowArn=flow_arn, Sources=[]) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:442: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:152: in add_flow_sources 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ________________________ test_add_flow_sources_succeeds ________________________ 544s 544s @mock_aws 544s def test_add_flow_sources_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > client.add_flow_sources( 544s FlowArn=flow_arn, 544s Sources=[ 544s { 544s "Description": "string", 544s "Name": "string", 544s "Protocol": "rist", 544s "SenderControlPort": 123, 544s } 544s ], 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:458: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:152: in add_flow_sources 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ________________________ test_update_flow_source_fails _________________________ 544s 544s @mock_aws 544s def test_update_flow_source_fails(): 544s client = boto3.client("mediaconnect", region_name=region) 544s flow_arn = "unknown-flow" 544s source_arn = "unknown-source" 544s  544s channel_config = _create_flow_config("test-Flow-1") 544s client.create_flow(**channel_config) 544s  544s with pytest.raises(ClientError) as err: 544s > client.update_flow_source( 544s FlowArn=flow_arn, SourceArn=source_arn, Description="new description" 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:485: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:160: in update_flow_source 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s _______________________ test_update_flow_source_succeeds _______________________ 544s 544s @mock_aws 544s def test_update_flow_source_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > add_response = client.add_flow_sources( 544s FlowArn=flow_arn, 544s Sources=[ 544s { 544s "Description": "string", 544s "Name": "string", 544s "Protocol": "rist", 544s "SenderControlPort": 123, 544s } 544s ], 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:503: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:152: in add_flow_sources 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ______________________ test_grant_flow_entitlements_fails ______________________ 544s 544s @mock_aws 544s def test_grant_flow_entitlements_fails(): 544s client = boto3.client("mediaconnect", region_name=region) 544s flow_arn = "unknown-flow" 544s  544s channel_config = _create_flow_config("test-Flow-1") 544s client.create_flow(**channel_config) 544s  544s with pytest.raises(ClientError) as err: 544s > client.grant_flow_entitlements( 544s FlowArn=flow_arn, 544s Entitlements=[ 544s { 544s "DataTransferSubscriberFeePercent": 12, 544s "Description": "A new entitlement", 544s "Encryption": {"Algorithm": "aes256", "RoleArn": "some:role"}, 544s "EntitlementStatus": "ENABLED", 544s "Name": "Entitlement-B", 544s "Subscribers": [], 544s } 544s ], 544s ) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:536: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:201: in grant_flow_entitlements 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ____________________ test_grant_flow_entitlements_succeeds _____________________ 544s 544s @mock_aws 544s def test_grant_flow_entitlements_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > describe_response = client.describe_flow(FlowArn=flow_arn) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:564: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ______________________ test_revoke_flow_entitlement_fails ______________________ 544s 544s @mock_aws 544s def test_revoke_flow_entitlement_fails(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > describe_response = client.describe_flow(FlowArn=flow_arn) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:607: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ____________________ test_revoke_flow_entitlement_succeeds _____________________ 544s 544s @mock_aws 544s def test_revoke_flow_entitlement_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > describe_response = client.describe_flow(FlowArn=flow_arn) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:630: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ______________________ test_update_flow_entitlement_fails ______________________ 544s 544s @mock_aws 544s def test_update_flow_entitlement_fails(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > describe_response = client.describe_flow(FlowArn=flow_arn) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:655: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ____________________ test_update_flow_entitlement_succeeds _____________________ 544s 544s @mock_aws 544s def test_update_flow_entitlement_succeeds(): 544s client = boto3.client("mediaconnect", region_name=region) 544s channel_config = _create_flow_config("test-Flow-1") 544s  544s create_response = client.create_flow(**channel_config) 544s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 544s assert create_response["Flow"]["Status"] == "STANDBY" 544s flow_arn = create_response["Flow"]["FlowArn"] 544s  544s > describe_response = client.describe_flow(FlowArn=flow_arn) 544s 544s tests/test_mediaconnect/test_mediaconnect.py:680: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 544s http, parsed_response = self._make_request( 544s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 544s return self._endpoint.make_request(operation_model, request_dict) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 544s return self._send_request(request_dict, operation_model) 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 544s while self._needs_retry( 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 544s responses = self._event_emitter.emit( 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 544s if self._checker(**checker_kwargs): 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 544s should_retry = self._should_retry( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 544s return self._checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 544s checker_response = checker( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 544s return self._check_caught_exception( 544s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 544s raise caught_exception 544s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 544s responses = self._event_emitter.emit(event_name, request=request) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 544s return self._emitter.emit(aliased_event_name, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 544s return self._emit(event_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 544s response = handler(**kwargs) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 544s response = self.process_request(request) 544s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 544s status, headers, body = method_to_execute( 544s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 544s return cls()._dispatch(*args, **kwargs) 544s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 544s return self.call_action() 544s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 544s response = method() 544s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 544s flow_arn = unquote(self._get_param("flowArn")) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s string = None, encoding = 'utf-8', errors = 'replace' 544s 544s def unquote(string, encoding='utf-8', errors='replace'): 544s  """Replace %xx escapes by their single-character equivalent. The optional 544s  encoding and errors parameters specify how to decode percent-encoded 544s  sequences into Unicode characters, as accepted by the bytes.decode() 544s  method. 544s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 544s  sequences are replaced by a placeholder character. 544s  544s  unquote('abc%20def') -> 'abc def'. 544s  """ 544s if isinstance(string, bytes): 544s return _unquote_impl(string).decode(encoding, errors) 544s > if '%' not in string: 544s E TypeError: argument of type 'NoneType' is not a container or iterable 544s 544s /usr/lib/python3.14/urllib/parse.py:728: TypeError 544s ___________________________ test_create_app_response ___________________________ 544s 544s @freeze_time("2015-01-01") 544s @mock_aws 544s def test_create_app_response(): 544s > client = boto3.client("opsworks", region_name="us-east-1") 544s 544s tests/test_opsworks/test_apps.py:12: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 544s return _get_default_session().client(*args, **kwargs) 544s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 544s return self._session.create_client( 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 544s client = client_creator.create_client( 544s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 544s service_model = self._load_service_model(service_name, api_version) 544s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 544s json_model = self._loader.load_service_model( 544s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 544s data = func(self, *args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s service_name = 'opsworks', type_name = 'service-2', api_version = None 544s 544s @instance_cache 544s def load_service_model(self, service_name, type_name, api_version=None): 544s  """Load a botocore service model 544s  544s  This is the main method for loading botocore models (e.g. a service 544s  model, pagination configs, waiter configs, etc.). 544s  544s  :type service_name: str 544s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 544s  544s  :type type_name: str 544s  :param type_name: The model type. Valid types include, but are not 544s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 544s  544s  :type api_version: str 544s  :param api_version: The API version to load. If this is not 544s  provided, then the latest API version will be used. 544s  544s  :type load_extras: bool 544s  :param load_extras: Whether or not to load the tool extras which 544s  contain additional data to be added to the model. 544s  544s  :raises: UnknownServiceError if there is no known service with 544s  the provided service_name. 544s  544s  :raises: DataNotFoundError if no data could be found for the 544s  service_name/type_name/api_version. 544s  544s  :return: The loaded data, as a python type (e.g. dict, list, etc). 544s  """ 544s # Wrapper around the load_data. This will calculate the path 544s # to call load_data with. 544s known_services = self.list_available_services(type_name) 544s if service_name not in known_services: 544s > raise UnknownServiceError( 544s service_name=service_name, 544s known_service_names=', '.join(sorted(known_services)), 544s ) 544s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 544s 544s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 544s ______________________________ test_describe_apps ______________________________ 544s 544s @freeze_time("2015-01-01") 544s @mock_aws 544s def test_describe_apps(): 544s > client = boto3.client("opsworks", region_name="us-east-1") 544s 544s tests/test_opsworks/test_apps.py:49: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 544s return _get_default_session().client(*args, **kwargs) 544s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 544s return self._session.create_client( 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 544s client = client_creator.create_client( 544s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 544s service_model = self._load_service_model(service_name, api_version) 544s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 544s json_model = self._loader.load_service_model( 544s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 544s data = func(self, *args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s service_name = 'opsworks', type_name = 'service-2', api_version = None 544s 544s @instance_cache 544s def load_service_model(self, service_name, type_name, api_version=None): 544s  """Load a botocore service model 544s  544s  This is the main method for loading botocore models (e.g. a service 544s  model, pagination configs, waiter configs, etc.). 544s  544s  :type service_name: str 544s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 544s  544s  :type type_name: str 544s  :param type_name: The model type. Valid types include, but are not 544s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 544s  544s  :type api_version: str 544s  :param api_version: The API version to load. If this is not 544s  provided, then the latest API version will be used. 544s  544s  :type load_extras: bool 544s  :param load_extras: Whether or not to load the tool extras which 544s  contain additional data to be added to the model. 544s  544s  :raises: UnknownServiceError if there is no known service with 544s  the provided service_name. 544s  544s  :raises: DataNotFoundError if no data could be found for the 544s  service_name/type_name/api_version. 544s  544s  :return: The loaded data, as a python type (e.g. dict, list, etc). 544s  """ 544s # Wrapper around the load_data. This will calculate the path 544s # to call load_data with. 544s known_services = self.list_available_services(type_name) 544s if service_name not in known_services: 544s > raise UnknownServiceError( 544s service_name=service_name, 544s known_service_names=', '.join(sorted(known_services)), 544s ) 544s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 544s 544s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 544s _____________________________ test_create_instance _____________________________ 544s 544s @mock_aws 544s def test_create_instance(): 544s > client = boto3.client("opsworks", region_name="us-east-1") 544s 544s tests/test_opsworks/test_instances.py:11: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 544s return _get_default_session().client(*args, **kwargs) 544s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 544s return self._session.create_client( 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 544s client = client_creator.create_client( 544s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 544s service_model = self._load_service_model(service_name, api_version) 544s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 544s json_model = self._loader.load_service_model( 544s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 544s data = func(self, *args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s service_name = 'opsworks', type_name = 'service-2', api_version = None 544s 544s @instance_cache 544s def load_service_model(self, service_name, type_name, api_version=None): 544s  """Load a botocore service model 544s  544s  This is the main method for loading botocore models (e.g. a service 544s  model, pagination configs, waiter configs, etc.). 544s  544s  :type service_name: str 544s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 544s  544s  :type type_name: str 544s  :param type_name: The model type. Valid types include, but are not 544s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 544s  544s  :type api_version: str 544s  :param api_version: The API version to load. If this is not 544s  provided, then the latest API version will be used. 544s  544s  :type load_extras: bool 544s  :param load_extras: Whether or not to load the tool extras which 544s  contain additional data to be added to the model. 544s  544s  :raises: UnknownServiceError if there is no known service with 544s  the provided service_name. 544s  544s  :raises: DataNotFoundError if no data could be found for the 544s  service_name/type_name/api_version. 544s  544s  :return: The loaded data, as a python type (e.g. dict, list, etc). 544s  """ 544s # Wrapper around the load_data. This will calculate the path 544s # to call load_data with. 544s known_services = self.list_available_services(type_name) 544s if service_name not in known_services: 544s > raise UnknownServiceError( 544s service_name=service_name, 544s known_service_names=', '.join(sorted(known_services)), 544s ) 544s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 544s 544s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 544s ___________________________ test_describe_instances ____________________________ 544s 544s @mock_aws 544s def test_describe_instances(): 544s  """ 544s  create two stacks, with 1 layer and 2 layers (S1L1, S2L1, S2L2) 544s  544s  populate S1L1 with 2 instances (S1L1_i1, S1L1_i2) 544s  populate S2L1 with 1 instance (S2L1_i1) 544s  populate S2L2 with 3 instances (S2L2_i1..2) 544s  """ 544s  544s > client = boto3.client("opsworks", region_name="us-east-1") 544s 544s tests/test_opsworks/test_instances.py:87: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 544s return _get_default_session().client(*args, **kwargs) 544s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 544s return self._session.create_client( 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 544s client = client_creator.create_client( 544s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 544s service_model = self._load_service_model(service_name, api_version) 544s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 544s json_model = self._loader.load_service_model( 544s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 544s data = func(self, *args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s service_name = 'opsworks', type_name = 'service-2', api_version = None 544s 544s @instance_cache 544s def load_service_model(self, service_name, type_name, api_version=None): 544s  """Load a botocore service model 544s  544s  This is the main method for loading botocore models (e.g. a service 544s  model, pagination configs, waiter configs, etc.). 544s  544s  :type service_name: str 544s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 544s  544s  :type type_name: str 544s  :param type_name: The model type. Valid types include, but are not 544s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 544s  544s  :type api_version: str 544s  :param api_version: The API version to load. If this is not 544s  provided, then the latest API version will be used. 544s  544s  :type load_extras: bool 544s  :param load_extras: Whether or not to load the tool extras which 544s  contain additional data to be added to the model. 544s  544s  :raises: UnknownServiceError if there is no known service with 544s  the provided service_name. 544s  544s  :raises: DataNotFoundError if no data could be found for the 544s  service_name/type_name/api_version. 544s  544s  :return: The loaded data, as a python type (e.g. dict, list, etc). 544s  """ 544s # Wrapper around the load_data. This will calculate the path 544s # to call load_data with. 544s known_services = self.list_available_services(type_name) 544s if service_name not in known_services: 544s > raise UnknownServiceError( 544s service_name=service_name, 544s known_service_names=', '.join(sorted(known_services)), 544s ) 544s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 544s 544s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 544s _____________________________ test_ec2_integration _____________________________ 544s 544s @mock_aws 544s def test_ec2_integration(): 544s  """Verify instances created via OpsWorks are discoverable via ec2.""" 544s > opsworks = boto3.client("opsworks", region_name="us-east-1") 544s 544s tests/test_opsworks/test_instances.py:186: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 544s return _get_default_session().client(*args, **kwargs) 544s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 544s return self._session.create_client( 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 544s client = client_creator.create_client( 544s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 544s service_model = self._load_service_model(service_name, api_version) 544s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 544s json_model = self._loader.load_service_model( 544s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 544s data = func(self, *args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s service_name = 'opsworks', type_name = 'service-2', api_version = None 544s 544s @instance_cache 544s def load_service_model(self, service_name, type_name, api_version=None): 544s  """Load a botocore service model 544s  544s  This is the main method for loading botocore models (e.g. a service 544s  model, pagination configs, waiter configs, etc.). 544s  544s  :type service_name: str 544s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 544s  544s  :type type_name: str 544s  :param type_name: The model type. Valid types include, but are not 544s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 544s  544s  :type api_version: str 544s  :param api_version: The API version to load. If this is not 544s  provided, then the latest API version will be used. 544s  544s  :type load_extras: bool 544s  :param load_extras: Whether or not to load the tool extras which 544s  contain additional data to be added to the model. 544s  544s  :raises: UnknownServiceError if there is no known service with 544s  the provided service_name. 544s  544s  :raises: DataNotFoundError if no data could be found for the 544s  service_name/type_name/api_version. 544s  544s  :return: The loaded data, as a python type (e.g. dict, list, etc). 544s  """ 544s # Wrapper around the load_data. This will calculate the path 544s # to call load_data with. 544s known_services = self.list_available_services(type_name) 544s if service_name not in known_services: 544s > raise UnknownServiceError( 544s service_name=service_name, 544s known_service_names=', '.join(sorted(known_services)), 544s ) 544s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 544s 544s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 544s __________________________ test_create_layer_response __________________________ 544s 544s @freeze_time("2015-01-01") 544s @mock_aws 544s def test_create_layer_response(): 544s > client = boto3.client("opsworks", region_name="us-east-1") 544s 544s tests/test_opsworks/test_layers.py:12: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 544s return _get_default_session().client(*args, **kwargs) 544s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 544s return self._session.create_client( 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 544s client = client_creator.create_client( 544s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 544s service_model = self._load_service_model(service_name, api_version) 544s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 544s json_model = self._loader.load_service_model( 544s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 544s data = func(self, *args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s service_name = 'opsworks', type_name = 'service-2', api_version = None 544s 544s @instance_cache 544s def load_service_model(self, service_name, type_name, api_version=None): 544s  """Load a botocore service model 544s  544s  This is the main method for loading botocore models (e.g. a service 544s  model, pagination configs, waiter configs, etc.). 544s  544s  :type service_name: str 544s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 544s  544s  :type type_name: str 544s  :param type_name: The model type. Valid types include, but are not 544s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 544s  544s  :type api_version: str 544s  :param api_version: The API version to load. If this is not 544s  provided, then the latest API version will be used. 544s  544s  :type load_extras: bool 544s  :param load_extras: Whether or not to load the tool extras which 544s  contain additional data to be added to the model. 544s  544s  :raises: UnknownServiceError if there is no known service with 544s  the provided service_name. 544s  544s  :raises: DataNotFoundError if no data could be found for the 544s  service_name/type_name/api_version. 544s  544s  :return: The loaded data, as a python type (e.g. dict, list, etc). 544s  """ 544s # Wrapper around the load_data. This will calculate the path 544s # to call load_data with. 544s known_services = self.list_available_services(type_name) 544s if service_name not in known_services: 544s > raise UnknownServiceError( 544s service_name=service_name, 544s known_service_names=', '.join(sorted(known_services)), 544s ) 544s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 544s 544s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 544s _____________________________ test_describe_layers _____________________________ 544s 544s @freeze_time("2015-01-01") 544s @mock_aws 544s def test_describe_layers(): 544s > client = boto3.client("opsworks", region_name="us-east-1") 544s 544s tests/test_opsworks/test_layers.py:74: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 544s return _get_default_session().client(*args, **kwargs) 544s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 544s return self._session.create_client( 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 544s client = client_creator.create_client( 544s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 544s service_model = self._load_service_model(service_name, api_version) 544s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 544s json_model = self._loader.load_service_model( 544s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 544s data = func(self, *args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s service_name = 'opsworks', type_name = 'service-2', api_version = None 544s 544s @instance_cache 544s def load_service_model(self, service_name, type_name, api_version=None): 544s  """Load a botocore service model 544s  544s  This is the main method for loading botocore models (e.g. a service 544s  model, pagination configs, waiter configs, etc.). 544s  544s  :type service_name: str 544s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 544s  544s  :type type_name: str 544s  :param type_name: The model type. Valid types include, but are not 544s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 544s  544s  :type api_version: str 544s  :param api_version: The API version to load. If this is not 544s  provided, then the latest API version will be used. 544s  544s  :type load_extras: bool 544s  :param load_extras: Whether or not to load the tool extras which 544s  contain additional data to be added to the model. 544s  544s  :raises: UnknownServiceError if there is no known service with 544s  the provided service_name. 544s  544s  :raises: DataNotFoundError if no data could be found for the 544s  service_name/type_name/api_version. 544s  544s  :return: The loaded data, as a python type (e.g. dict, list, etc). 544s  """ 544s # Wrapper around the load_data. This will calculate the path 544s # to call load_data with. 544s known_services = self.list_available_services(type_name) 544s if service_name not in known_services: 544s > raise UnknownServiceError( 544s service_name=service_name, 544s known_service_names=', '.join(sorted(known_services)), 544s ) 544s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 544s 544s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 544s __________________________ test_create_stack_response __________________________ 544s 544s @mock_aws 544s def test_create_stack_response(): 544s > client = boto3.client("opsworks", region_name="us-east-1") 544s 544s tests/test_opsworks/test_stack.py:9: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 544s return _get_default_session().client(*args, **kwargs) 544s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 544s return self._session.create_client( 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 544s client = client_creator.create_client( 544s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 544s service_model = self._load_service_model(service_name, api_version) 544s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 544s json_model = self._loader.load_service_model( 544s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 544s data = func(self, *args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s service_name = 'opsworks', type_name = 'service-2', api_version = None 544s 544s @instance_cache 544s def load_service_model(self, service_name, type_name, api_version=None): 544s  """Load a botocore service model 544s  544s  This is the main method for loading botocore models (e.g. a service 544s  model, pagination configs, waiter configs, etc.). 544s  544s  :type service_name: str 544s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 544s  544s  :type type_name: str 544s  :param type_name: The model type. Valid types include, but are not 544s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 544s  544s  :type api_version: str 544s  :param api_version: The API version to load. If this is not 544s  provided, then the latest API version will be used. 544s  544s  :type load_extras: bool 544s  :param load_extras: Whether or not to load the tool extras which 544s  contain additional data to be added to the model. 544s  544s  :raises: UnknownServiceError if there is no known service with 544s  the provided service_name. 544s  544s  :raises: DataNotFoundError if no data could be found for the 544s  service_name/type_name/api_version. 544s  544s  :return: The loaded data, as a python type (e.g. dict, list, etc). 544s  """ 544s # Wrapper around the load_data. This will calculate the path 544s # to call load_data with. 544s known_services = self.list_available_services(type_name) 544s if service_name not in known_services: 544s > raise UnknownServiceError( 544s service_name=service_name, 544s known_service_names=', '.join(sorted(known_services)), 544s ) 544s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 544s 544s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 544s _____________________________ test_describe_stacks _____________________________ 544s 544s @mock_aws 544s def test_describe_stacks(): 544s > client = boto3.client("opsworks", region_name="us-east-1") 544s 544s tests/test_opsworks/test_stack.py:21: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 544s return _get_default_session().client(*args, **kwargs) 544s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 544s return self._session.create_client( 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 544s client = client_creator.create_client( 544s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 544s service_model = self._load_service_model(service_name, api_version) 544s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 544s json_model = self._loader.load_service_model( 544s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 544s data = func(self, *args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s service_name = 'opsworks', type_name = 'service-2', api_version = None 544s 544s @instance_cache 544s def load_service_model(self, service_name, type_name, api_version=None): 544s  """Load a botocore service model 544s  544s  This is the main method for loading botocore models (e.g. a service 544s  model, pagination configs, waiter configs, etc.). 544s  544s  :type service_name: str 544s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 544s  544s  :type type_name: str 544s  :param type_name: The model type. Valid types include, but are not 544s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 544s  544s  :type api_version: str 544s  :param api_version: The API version to load. If this is not 544s  provided, then the latest API version will be used. 544s  544s  :type load_extras: bool 544s  :param load_extras: Whether or not to load the tool extras which 544s  contain additional data to be added to the model. 544s  544s  :raises: UnknownServiceError if there is no known service with 544s  the provided service_name. 544s  544s  :raises: DataNotFoundError if no data could be found for the 544s  service_name/type_name/api_version. 544s  544s  :return: The loaded data, as a python type (e.g. dict, list, etc). 544s  """ 544s # Wrapper around the load_data. This will calculate the path 544s # to call load_data with. 544s known_services = self.list_available_services(type_name) 544s if service_name not in known_services: 544s > raise UnknownServiceError( 544s service_name=service_name, 544s known_service_names=', '.join(sorted(known_services)), 544s ) 544s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 544s 544s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 544s _____________________________ test_create_db_proxy _____________________________ 544s 544s @mock_aws 544s def test_create_db_proxy(): 544s rds_client = boto3.client("rds", region_name=DEFAULT_REGION) 544s ec2_client = boto3.client("ec2", region_name=DEFAULT_REGION) 544s vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 544s subnet_id = ec2_client.create_subnet(CidrBlock="10.0.1.0/24", VpcId=vpc_id)[ 544s "Subnet" 544s ]["SubnetId"] 544s subnet_id_2 = ec2_client.create_subnet(CidrBlock="10.0.2.0/24", VpcId=vpc_id)[ 544s "Subnet" 544s ]["SubnetId"] 544s > resp = rds_client.create_db_proxy( 544s DBProxyName="testrdsproxy", 544s EngineFamily="MYSQL", 544s Auth=[ 544s { 544s "Description": "Test Description", 544s "UserName": "Test Username", 544s "AuthScheme": "SECRETS", 544s "SecretArn": "TestSecretARN", 544s "IAMAuth": "ENABLED", 544s "ClientPasswordAuthType": "MYSQL_NATIVE_PASSWORD", 544s }, 544s ], 544s RoleArn="TestArn", 544s VpcSubnetIds=[subnet_id, subnet_id_2], 544s RequireTLS=True, 544s Tags=[{"Key": "TestKey", "Value": "TestValue"}], 544s ) 544s 544s tests/test_rds/test_rds_proxy.py:22: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'Auth': [{'AuthScheme': 'SECRETS', 'ClientPasswordAuthType': 'MYSQL_NATIVE_PASSWORD', 'Description': 'Test Description', 'IAMAuth': 'ENABLED', ...}], 'DBProxyName': 'testrdsproxy', 'EngineFamily': 'MYSQL', 'RequireTLS': True, ...} 544s operation_model = OperationModel(name=CreateDBProxy) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Invalid length for parameter Auth[0].SecretArn, value: 13, valid min length: 20 544s E Invalid length for parameter RoleArn, value: 7, valid min length: 20 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ___________________________ test_describe_db_proxies ___________________________ 544s 544s @mock_aws 544s def test_describe_db_proxies(): 544s rds_client = boto3.client("rds", region_name=DEFAULT_REGION) 544s ec2_client = boto3.client("ec2", region_name=DEFAULT_REGION) 544s vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 544s subnet_id = ec2_client.create_subnet(CidrBlock="10.0.1.0/24", VpcId=vpc_id)[ 544s "Subnet" 544s ]["SubnetId"] 544s subnet_id_2 = ec2_client.create_subnet(CidrBlock="10.0.2.0/24", VpcId=vpc_id)[ 544s "Subnet" 544s ]["SubnetId"] 544s > rds_client.create_db_proxy( 544s DBProxyName="testrdsproxydescribe", 544s EngineFamily="MYSQL", 544s Auth=[ 544s { 544s "Description": "Test Description", 544s "UserName": "Test Username", 544s "AuthScheme": "SECRETS", 544s "SecretArn": "TestSecretARN", 544s "IAMAuth": "ENABLED", 544s "ClientPasswordAuthType": "MYSQL_NATIVE_PASSWORD", 544s }, 544s ], 544s RoleArn="TestArn", 544s VpcSubnetIds=[subnet_id, subnet_id_2], 544s RequireTLS=True, 544s Tags=[ 544s {"Key": "TestKey", "Value": "TestValue"}, 544s {"Key": "aaa", "Value": "bbb"}, 544s ], 544s ) 544s 544s tests/test_rds/test_rds_proxy.py:76: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'Auth': [{'AuthScheme': 'SECRETS', 'ClientPasswordAuthType': 'MYSQL_NATIVE_PASSWORD', 'Description': 'Test Description', 'IAMAuth': 'ENABLED', ...}], 'DBProxyName': 'testrdsproxydescribe', 'EngineFamily': 'MYSQL', 'RequireTLS': True, ...} 544s operation_model = OperationModel(name=CreateDBProxy) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Invalid length for parameter Auth[0].SecretArn, value: 13, valid min length: 20 544s E Invalid length for parameter RoleArn, value: 7, valid min length: 20 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ___________________________ test_list_tags_db_proxy ____________________________ 544s 544s @mock_aws 544s def test_list_tags_db_proxy(): 544s rds_client = boto3.client("rds", region_name=DEFAULT_REGION) 544s ec2_client = boto3.client("ec2", region_name=DEFAULT_REGION) 544s vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 544s subnet_id = ec2_client.create_subnet(CidrBlock="10.0.1.0/24", VpcId=vpc_id)[ 544s "Subnet" 544s ]["SubnetId"] 544s subnet_id_2 = ec2_client.create_subnet(CidrBlock="10.0.2.0/24", VpcId=vpc_id)[ 544s "Subnet" 544s ]["SubnetId"] 544s > resp = rds_client.create_db_proxy( 544s DBProxyName="testrdsproxydescribe", 544s EngineFamily="MYSQL", 544s Auth=[ 544s { 544s "Description": "Test Description", 544s "UserName": "Test Username", 544s "AuthScheme": "SECRETS", 544s "SecretArn": "TestSecretARN", 544s "IAMAuth": "ENABLED", 544s "ClientPasswordAuthType": "MYSQL_NATIVE_PASSWORD", 544s }, 544s ], 544s RoleArn="TestArn", 544s VpcSubnetIds=[subnet_id, subnet_id_2], 544s RequireTLS=True, 544s Tags=[ 544s {"Key": "TestKey", "Value": "TestValue"}, 544s {"Key": "aaa", "Value": "bbb"}, 544s ], 544s ) 544s 544s tests/test_rds/test_rds_proxy.py:134: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'Auth': [{'AuthScheme': 'SECRETS', 'ClientPasswordAuthType': 'MYSQL_NATIVE_PASSWORD', 'Description': 'Test Description', 'IAMAuth': 'ENABLED', ...}], 'DBProxyName': 'testrdsproxydescribe', 'EngineFamily': 'MYSQL', 'RequireTLS': True, ...} 544s operation_model = OperationModel(name=CreateDBProxy) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Invalid length for parameter Auth[0].SecretArn, value: 13, valid min length: 20 544s E Invalid length for parameter RoleArn, value: 7, valid min length: 20 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _____________________ test_create_db_proxy_invalid_subnet ______________________ 544s 544s @mock_aws 544s def test_create_db_proxy_invalid_subnet(): 544s rds_client = boto3.client("rds", region_name=DEFAULT_REGION) 544s ec2_client = boto3.client("ec2", region_name=DEFAULT_REGION) 544s vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 544s vpc_id_2 = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 544s subnet_id = ec2_client.create_subnet(CidrBlock="10.0.1.0/24", VpcId=vpc_id)[ 544s "Subnet" 544s ]["SubnetId"] 544s subnet_id_2 = ec2_client.create_subnet(CidrBlock="10.0.2.0/24", VpcId=vpc_id_2)[ 544s "Subnet" 544s ]["SubnetId"] 544s with pytest.raises(ClientError) as ex: 544s > rds_client.create_db_proxy( 544s DBProxyName="testrdsproxy", 544s EngineFamily="MYSQL", 544s Auth=[ 544s { 544s "Description": "Test Description", 544s "UserName": "Test Username", 544s "AuthScheme": "SECRETS", 544s "SecretArn": "TestSecretARN", 544s "IAMAuth": "ENABLED", 544s "ClientPasswordAuthType": "MYSQL_NATIVE_PASSWORD", 544s }, 544s ], 544s RoleArn="TestArn", 544s VpcSubnetIds=[subnet_id, subnet_id_2], 544s RequireTLS=True, 544s Tags=[{"Key": "TestKey", "Value": "TestValue"}], 544s ) 544s 544s tests/test_rds/test_rds_proxy.py:176: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'Auth': [{'AuthScheme': 'SECRETS', 'ClientPasswordAuthType': 'MYSQL_NATIVE_PASSWORD', 'Description': 'Test Description', 'IAMAuth': 'ENABLED', ...}], 'DBProxyName': 'testrdsproxy', 'EngineFamily': 'MYSQL', 'RequireTLS': True, ...} 544s operation_model = OperationModel(name=CreateDBProxy) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Invalid length for parameter Auth[0].SecretArn, value: 13, valid min length: 20 544s E Invalid length for parameter RoleArn, value: 7, valid min length: 20 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _____________________ test_create_db_proxy_duplicate_name ______________________ 544s 544s @mock_aws 544s def test_create_db_proxy_duplicate_name(): 544s rds_client = boto3.client("rds", region_name=DEFAULT_REGION) 544s ec2_client = boto3.client("ec2", region_name=DEFAULT_REGION) 544s vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 544s subnet_id = ec2_client.create_subnet(CidrBlock="10.0.1.0/24", VpcId=vpc_id)[ 544s "Subnet" 544s ]["SubnetId"] 544s subnet_id_2 = ec2_client.create_subnet(CidrBlock="10.0.2.0/24", VpcId=vpc_id)[ 544s "Subnet" 544s ]["SubnetId"] 544s > rds_client.create_db_proxy( 544s DBProxyName="testrdsproxy", 544s EngineFamily="MYSQL", 544s Auth=[ 544s { 544s "Description": "Test Description", 544s "UserName": "Test Username", 544s "AuthScheme": "SECRETS", 544s "SecretArn": "TestSecretARN", 544s "IAMAuth": "ENABLED", 544s "ClientPasswordAuthType": "MYSQL_NATIVE_PASSWORD", 544s }, 544s ], 544s RoleArn="TestArn", 544s VpcSubnetIds=[subnet_id, subnet_id_2], 544s RequireTLS=True, 544s Tags=[{"Key": "TestKey", "Value": "TestValue"}], 544s ) 544s 544s tests/test_rds/test_rds_proxy.py:209: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'Auth': [{'AuthScheme': 'SECRETS', 'ClientPasswordAuthType': 'MYSQL_NATIVE_PASSWORD', 'Description': 'Test Description', 'IAMAuth': 'ENABLED', ...}], 'DBProxyName': 'testrdsproxy', 'EngineFamily': 'MYSQL', 'RequireTLS': True, ...} 544s operation_model = OperationModel(name=CreateDBProxy) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Invalid length for parameter Auth[0].SecretArn, value: 13, valid min length: 20 544s E Invalid length for parameter RoleArn, value: 7, valid min length: 20 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ________________________ test_get_resources_workspaces _________________________ 544s 544s @mock_aws 544s def test_get_resources_workspaces(): 544s workspaces = boto3.client("workspaces", region_name="eu-central-1") 544s  544s # Create two tagged Workspaces 544s directory_id = create_directory() 544s > workspaces.register_workspace_directory( 544s DirectoryId=directory_id, EnableWorkDocs=False 544s ) 544s 544s tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py:804: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-1603818045', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ___________________ test_get_resources_workspace_directories ___________________ 544s 544s @mock_aws 544s def test_get_resources_workspace_directories(): 544s workspaces = boto3.client("workspaces", region_name="eu-central-1") 544s  544s # Create two tagged Workspaces Directories 544s for i in range(1, 3): 544s i_str = str(i) 544s directory_id = create_directory() 544s > workspaces.register_workspace_directory( 544s DirectoryId=directory_id, 544s EnableWorkDocs=False, 544s Tags=[ 544s {"Key": "Test", "Value": i_str}, 544s ], 544s ) 544s 544s tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py:851: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-216d1a6362', 'EnableWorkDocs': False, 'Tags': [{'Key': 'Test', 'Value': '1'}]} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _____________________ test_get_resources_workspace_images ______________________ 544s 544s @mock_aws 544s def test_get_resources_workspace_images(): 544s workspaces = boto3.client("workspaces", region_name="eu-central-1") 544s  544s # Create two tagged Workspace Images 544s directory_id = create_directory() 544s > workspaces.register_workspace_directory( 544s DirectoryId=directory_id, EnableWorkDocs=False 544s ) 544s 544s tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py:880: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-c43c266519', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ____________________________ test_robot_application ____________________________ 544s 544s @mock_aws 544s def test_robot_application(): 544s > client = boto3.client("robomaker", region_name="eu-west-1") 544s 544s tests/test_robomaker/test_robomaker.py:11: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 544s return _get_default_session().client(*args, **kwargs) 544s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 544s return self._session.create_client( 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 544s client = client_creator.create_client( 544s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 544s service_model = self._load_service_model(service_name, api_version) 544s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 544s json_model = self._loader.load_service_model( 544s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 544s data = func(self, *args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s service_name = 'robomaker', type_name = 'service-2', api_version = None 544s 544s @instance_cache 544s def load_service_model(self, service_name, type_name, api_version=None): 544s  """Load a botocore service model 544s  544s  This is the main method for loading botocore models (e.g. a service 544s  model, pagination configs, waiter configs, etc.). 544s  544s  :type service_name: str 544s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 544s  544s  :type type_name: str 544s  :param type_name: The model type. Valid types include, but are not 544s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 544s  544s  :type api_version: str 544s  :param api_version: The API version to load. If this is not 544s  provided, then the latest API version will be used. 544s  544s  :type load_extras: bool 544s  :param load_extras: Whether or not to load the tool extras which 544s  contain additional data to be added to the model. 544s  544s  :raises: UnknownServiceError if there is no known service with 544s  the provided service_name. 544s  544s  :raises: DataNotFoundError if no data could be found for the 544s  service_name/type_name/api_version. 544s  544s  :return: The loaded data, as a python type (e.g. dict, list, etc). 544s  """ 544s # Wrapper around the load_data. This will calculate the path 544s # to call load_data with. 544s known_services = self.list_available_services(type_name) 544s if service_name not in known_services: 544s > raise UnknownServiceError( 544s service_name=service_name, 544s known_service_names=', '.join(sorted(known_services)), 544s ) 544s E botocore.exceptions.UnknownServiceError: Unknown service: 'robomaker'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 544s 544s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 544s __________________ test_locked_object_governance_mode[bypass] __________________ 544s 544s bypass_governance_retention = True 544s bucket_name = '3e06b89d-ee21-4fe1-b8e7-bb5df4e5f932' 544s 544s @s3_aws_verified 544s @pytest.mark.aws_verified 544s @pytest.mark.parametrize( 544s "bypass_governance_retention", 544s [True, False, None], 544s ids=["bypass", "no_bypass", "unspecified"], 544s ) 544s def test_locked_object_governance_mode(bypass_governance_retention, bucket_name=None): 544s s3_client = boto3.client("s3", DEFAULT_REGION_NAME) 544s  544s key_name = "file.txt" 544s seconds_lock = 10 544s  544s enable_versioning(bucket_name, s3_client) 544s  544s s3_client.put_object_lock_configuration( 544s Bucket=bucket_name, 544s ObjectLockConfiguration={ 544s "ObjectLockEnabled": "Enabled", 544s "Rule": {"DefaultRetention": {"Mode": "GOVERNANCE", "Days": 1}}, 544s }, 544s ) 544s  544s until = utcnow() + datetime.timedelta(seconds=seconds_lock) 544s s3_client.put_object( 544s Bucket=bucket_name, 544s Body=b"test", 544s Key=key_name, 544s ObjectLockMode="GOVERNANCE", 544s ObjectLockRetainUntilDate=until, 544s ContentMD5=generate_content_md5(b"test"), 544s ) 544s  544s versions_response = s3_client.list_object_versions(Bucket=bucket_name) 544s initial_version_id = versions_response["Versions"][0]["VersionId"] 544s  544s with pytest.raises(ClientError) as exc: 544s s3_client.delete_object( 544s Bucket=bucket_name, Key=key_name, VersionId=initial_version_id 544s ) 544s err = exc.value.response["Error"] 544s assert err["Code"] == "AccessDenied" 544s  544s kwargs = {} 544s if bypass_governance_retention in [True, False]: 544s kwargs["BypassGovernanceRetention"] = bypass_governance_retention 544s  544s # Delete the object without VersionId always succeeds 544s response = s3_client.delete_objects( 544s Bucket=bucket_name, 544s Delete={ 544s "Objects": [ 544s {"Key": key_name}, 544s ], 544s }, 544s **kwargs, 544s ) 544s assert response["Deleted"][0]["Key"] == key_name 544s deleted_version_id = response["Deleted"][0]["DeleteMarkerVersionId"] 544s  544s # Delete any version id only succeeds if BypassGovernanceRetention=true 544s response = s3_client.delete_objects( 544s Bucket=bucket_name, 544s Delete={ 544s "Objects": [ 544s {"Key": key_name, "VersionId": initial_version_id}, 544s ], 544s }, 544s **kwargs, 544s ) 544s if bypass_governance_retention: 544s > assert "Deleted" in response 544s E AssertionError: assert 'Deleted' in {'Errors': [{'Code': 'AccessDenied', 'Key': 'file.txt', 'Message': 'Access Denied because object protected by object l...KIZ'}, 'HTTPStatusCode': 200, 'RequestId': 'LIrAhzinWsP7FznljrljgvJTDvLfWrlt7rtZ7WxO7IoN8Kcu8KIZ', 'RetryAttempts': 0}} 544s 544s tests/test_s3/test_s3_lock.py:130: AssertionError 544s ________________________________ test_get_table ________________________________ 544s 544s @mock_aws 544s def test_get_table(): 544s client = boto3.client("s3tables", region_name="us-east-2") 544s arn = client.create_table_bucket(name="foo")["arn"] 544s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 544s table_arn = client.create_table( 544s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 544s )["tableARN"] 544s  544s assert ( 544s > client.get_table(tableBucketARN=arn, namespace="bar", name="baz")["tableARN"] 544s == table_arn 544s ) 544s 544s tests/test_s3tables/test_s3tables.py:156: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'GetTable' 544s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s ______________ test_delete_table_deletes_underlying_table_storage ______________ 544s 544s @mock_aws 544s def test_delete_table_deletes_underlying_table_storage(): 544s client = boto3.client("s3tables", region_name="us-east-2") 544s s3 = boto3.client("s3", region_name="us-east-2") 544s arn = client.create_table_bucket(name="foo")["arn"] 544s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 544s client.create_table( 544s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 544s ) 544s > warehouse = client.get_table(tableBucketARN=arn, namespace="bar", name="baz")[ 544s "warehouseLocation" 544s ] 544s 544s tests/test_s3tables/test_s3tables.py:227: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'GetTable' 544s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s _____________________ test_update_table_metadata_location ______________________ 544s 544s @mock_aws 544s def test_update_table_metadata_location(): 544s client = boto3.client("s3tables", region_name="us-east-2") 544s arn = client.create_table_bucket(name="foo")["arn"] 544s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 544s resp = client.create_table( 544s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 544s ) 544s > resp = client.get_table(tableBucketARN=arn, namespace="bar", name="baz") 544s 544s tests/test_s3tables/test_s3tables.py:280: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'GetTable' 544s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s _________________________ test_write_metadata_to_table _________________________ 544s 544s @mock_aws 544s def test_write_metadata_to_table() -> None: 544s client = boto3.client("s3tables", region_name="us-east-2") 544s arn = client.create_table_bucket(name="foo")["arn"] 544s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 544s resp = client.create_table( 544s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 544s ) 544s  544s > resp = client.get_table(tableBucketARN=arn, namespace="bar", name="baz") 544s 544s tests/test_s3tables/test_s3tables.py:324: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'GetTable' 544s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s _________ test_underlying_table_storage_does_not_support_list_objects __________ 544s 544s @mock_aws 544s def test_underlying_table_storage_does_not_support_list_objects() -> None: 544s client = boto3.client("s3tables", region_name="us-east-2") 544s arn = client.create_table_bucket(name="foo")["arn"] 544s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 544s resp = client.create_table( 544s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 544s ) 544s  544s > resp = client.get_table(tableBucketARN=arn, namespace="bar", name="baz") 544s 544s tests/test_s3tables/test_s3tables.py:356: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'GetTable' 544s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s _________ test_underlying_table_storage_does_not_support_delete_object _________ 544s 544s @mock_aws 544s def test_underlying_table_storage_does_not_support_delete_object() -> None: 544s client = boto3.client("s3tables", region_name="us-east-2") 544s arn = client.create_table_bucket(name="foo")["arn"] 544s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 544s resp = client.create_table( 544s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 544s ) 544s  544s > resp = client.get_table(tableBucketARN=arn, namespace="bar", name="baz") 544s 544s tests/test_s3tables/test_s3tables.py:374: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'GetTable' 544s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s ______________________________ test_rename_table _______________________________ 544s 544s @mock_aws 544s def test_rename_table() -> None: 544s client = boto3.client("s3tables", region_name="us-east-2") 544s arn = client.create_table_bucket(name="foo")["arn"] 544s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 544s resp = client.create_table( 544s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 544s ) 544s  544s client.create_namespace(tableBucketARN=arn, namespace=["bar-two"]) 544s client.rename_table( 544s tableBucketARN=arn, 544s namespace="bar", 544s name="baz", 544s newNamespaceName="bar-two", 544s newName="baz-two", 544s versionToken=resp["versionToken"], 544s ) 544s assert ( 544s > client.get_table(tableBucketARN=arn, namespace="bar-two", name="baz-two")[ 544s "name" 544s ] 544s == "baz-two" 544s ) 544s 544s tests/test_s3tables/test_s3tables.py:403: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'GetTable' 544s api_params = {'name': 'baz-two', 'namespace': 'bar-two', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s ___________________________ test_s3tables_get_table ____________________________ 544s 544s bucket_name = 'table-bucketjvgphweovs' 544s 544s def test_s3tables_get_table(bucket_name: str): 544s backend = server.create_backend_app("s3tables") 544s test_client = backend.test_client() 544s  544s resp = test_client.put("/buckets", json={"name": bucket_name}) 544s arn = resp.get_json()["arn"] 544s  544s quoted_arn = quote(arn, safe="") 544s resp = test_client.put(f"/namespaces/{quoted_arn}", json={"namespace": ["bar"]}) 544s  544s resp = test_client.put( 544s f"/tables/{quoted_arn}/bar", json={"name": "baz", "format": "ICEBERG"} 544s ) 544s  544s resp = test_client.get(f"/tables/{quoted_arn}/bar/baz") 544s > assert resp.status_code == 200 544s E assert 404 == 200 544s E + where 404 = .status_code 544s 544s tests/test_s3tables/test_server.py:126: AssertionError 544s ___________________ test_invoke_fake_function_from_sqs_queue ___________________ 544s 544s @mock_aws(config={"lambda": {"use_docker": False}}) 544s def test_invoke_fake_function_from_sqs_queue(): 544s if not settings.TEST_DECORATOR_MODE: 544s raise SkipTest("Can only set Config in DecoratorMode") 544s logs_conn = boto3.client("logs", region_name="us-east-1") 544s sqs = boto3.resource("sqs", region_name="us-east-1") 544s queue_name = str(uuid.uuid4())[0:6] 544s queue = sqs.create_queue(QueueName=queue_name) 544s  544s fn_name = str(uuid.uuid4())[0:6] 544s conn = boto3.client("lambda", region_name="us-east-1") 544s func = conn.create_function( 544s FunctionName=fn_name, 544s Runtime="python3.11", 544s Role=get_role_name(), 544s Handler="lambda_function.lambda_handler", 544s Code={"ZipFile": b"n/a"}, 544s ) 544s  544s > conn.create_event_source_mapping( 544s EventSourceArn=queue.attributes["QueueArn"], FunctionName=func["FunctionArn"] 544s ) 544s 544s tests/test_sqs/test_sqs_integration.py:94: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s operation_name = 'CreateEventSourceMapping' 544s api_params = {'EventSourceArn': 'arn:aws:sqs:us-east-1:123456789012:7b17ef', 'FunctionName': 'arn:aws:lambda:us-east-1:123456789012:function:7f6b4d'} 544s 544s @with_current_context() 544s def _make_api_call(self, operation_name, api_params): 544s operation_model = self._service_model.operation_model(operation_name) 544s service_name = self._service_model.service_name 544s history_recorder.record( 544s 'API_CALL', 544s { 544s 'service': service_name, 544s 'operation': operation_name, 544s 'params': api_params, 544s }, 544s ) 544s if operation_model.deprecated: 544s logger.debug( 544s 'Warning: %s.%s() is deprecated', service_name, operation_name 544s ) 544s request_context = { 544s 'client_region': self.meta.region_name, 544s 'client_config': self.meta.config, 544s 'has_streaming_input': operation_model.has_streaming_input, 544s 'auth_type': operation_model.resolved_auth_type, 544s 'unsigned_payload': operation_model.unsigned_payload, 544s 'auth_options': self._service_model.metadata.get('auth'), 544s } 544s  544s api_params = self._emit_api_params( 544s api_params=api_params, 544s operation_model=operation_model, 544s context=request_context, 544s ) 544s ( 544s endpoint_url, 544s additional_headers, 544s properties, 544s ) = self._resolve_endpoint_ruleset( 544s operation_model, api_params, request_context 544s ) 544s if properties: 544s # Pass arbitrary endpoint info with the Request 544s # for use during construction. 544s request_context['endpoint_properties'] = properties 544s request_dict = self._convert_to_request_dict( 544s api_params=api_params, 544s operation_model=operation_model, 544s endpoint_url=endpoint_url, 544s context=request_context, 544s headers=additional_headers, 544s ) 544s resolve_checksum_context(request_dict, operation_model, api_params) 544s  544s service_id = self._service_model.service_id.hyphenize() 544s handler, event_response = self.meta.events.emit_until_response( 544s f'before-call.{service_id}.{operation_name}', 544s model=operation_model, 544s params=request_dict, 544s request_signer=self._request_signer, 544s context=request_context, 544s ) 544s  544s if event_response is not None: 544s http, parsed_response = event_response 544s else: 544s maybe_compress_request( 544s self.meta.config, request_dict, operation_model 544s ) 544s apply_request_checksum(request_dict) 544s http, parsed_response = self._make_request( 544s operation_model, request_dict, request_context 544s ) 544s  544s self.meta.events.emit( 544s f'after-call.{service_id}.{operation_name}', 544s http_response=http, 544s parsed=parsed_response, 544s model=operation_model, 544s context=request_context, 544s ) 544s  544s if http.status_code >= 300: 544s error_info = parsed_response.get("Error", {}) 544s error_code = request_context.get( 544s 'error_code_override' 544s ) or error_info.get("Code") 544s error_class = self.exceptions.from_code(error_code) 544s > raise error_class(parsed_response, operation_name) 544s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 544s 544s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 544s ____________________________ test_create_workspaces ____________________________ 544s 544s @mock_aws 544s def test_create_workspaces(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:31: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-18bd05c208', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s __________ test_create_workspaces_with_auto_stop_timeout_and_alwayson __________ 544s 544s @mock_aws 544s def test_create_workspaces_with_auto_stop_timeout_and_alwayson(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:111: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-b2f3e2dda5', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ___________ test_create_workspaces_with_auto_stop_timeout_and_manual ___________ 544s 544s @mock_aws 544s def test_create_workspaces_with_auto_stop_timeout_and_manual(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:137: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-1df0352fd2', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ___________________________ test_describe_workspaces ___________________________ 544s 544s @mock_aws 544s def test_describe_workspaces(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:163: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-a8773162c2', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _____________ test_describe_workspaces_with_directory_and_username _____________ 544s 544s @mock_aws 544s def test_describe_workspaces_with_directory_and_username(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:188: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-718605123d', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _________________ test_describe_workspaces_invalid_parameters __________________ 544s 544s @mock_aws 544s def test_describe_workspaces_invalid_parameters(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:211: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-fb079ecc35', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _________________ test_describe_workspaces_only_user_name_used _________________ 544s 544s @mock_aws 544s def test_describe_workspaces_only_user_name_used(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:246: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-8c9fdba7ea', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ______________________ test_register_workspace_directory _______________________ 544s 544s @mock_aws 544s def test_register_workspace_directory(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:268: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-11402c4bc2', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ____________ test_register_workspace_directory_enable_self_service _____________ 544s 544s @mock_aws 544s def test_register_workspace_directory_enable_self_service(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory( 544s DirectoryId=directory_id, 544s EnableWorkDocs=True, 544s EnableSelfService=True, 544s Tenancy="DEDICATED", 544s ) 544s 544s tests/test_workspaces/test_workspaces.py:281: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-3141e3150d', 'EnableSelfService': True, 'EnableWorkDocs': True, 'Tenancy': 'DEDICATED'} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ________________ test_register_workspace_directory_with_subnets ________________ 544s 544s @mock_aws 544s def test_register_workspace_directory_with_subnets(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:304: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-3db7343730', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _____________________ test_describe_workspace_directories ______________________ 544s 544s @mock_aws 544s def test_describe_workspace_directories(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s for _ in range(2): 544s directory_id = create_directory() 544s > client.register_workspace_directory( 544s DirectoryId=directory_id, 544s EnableWorkDocs=True, 544s ) 544s 544s tests/test_workspaces/test_workspaces.py:318: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-816f40c7f9', 'EnableWorkDocs': True} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ____________ test_describe_workspace_directories_with_directory_id _____________ 544s 544s @mock_aws 544s def test_describe_workspace_directories_with_directory_id(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory( 544s DirectoryId=directory_id, 544s EnableWorkDocs=True, 544s ) 544s 544s tests/test_workspaces/test_workspaces.py:347: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-3acb2fb2b4', 'EnableWorkDocs': True} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s __________________ test_modify_workspace_creation_properties ___________________ 544s 544s @mock_aws 544s def test_modify_workspace_creation_properties(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s ec2_client = boto3.client("ec2", region_name="eu-west-1") 544s directory_id = create_directory() 544s sg = create_security_group(client=ec2_client) 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:372: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-81a09fd34b', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s __________ test_modify_workspace_creation_properties_invalid_request ___________ 544s 544s @mock_aws 544s def test_modify_workspace_creation_properties_invalid_request(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s ec2_client = boto3.client("ec2", region_name="eu-west-1") 544s sg = create_security_group(client=ec2_client) 544s with pytest.raises(ClientError) as exc: 544s > client.modify_workspace_creation_properties( 544s ResourceId="d-9067f6c44b", # Invalid DirectoryID 544s WorkspaceCreationProperties={ 544s "EnableWorkDocs": False, 544s "CustomSecurityGroupId": sg["GroupId"], 544s }, 544s ) 544s 544s tests/test_workspaces/test_workspaces.py:394: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'ResourceId': 'd-9067f6c44b', 'WorkspaceCreationProperties': {'CustomSecurityGroupId': 'sg-04ac59e038f531334', 'EnableWorkDocs': False}} 544s operation_model = OperationModel(name=ModifyWorkspaceCreationProperties) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in WorkspaceCreationProperties: "EnableWorkDocs", must be one of: EnableInternetAccess, DefaultOu, CustomSecurityGroupId, UserEnabledAsLocalAdministrator, EnableMaintenanceMode, InstanceIamRoleArn 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _______________________________ test_create_tags _______________________________ 544s 544s @mock_aws 544s def test_create_tags(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory( 544s DirectoryId=directory_id, 544s EnableWorkDocs=True, 544s Tags=[ 544s {"Key": "foo1", "Value": "bar1"}, 544s ], 544s ) 544s 544s tests/test_workspaces/test_workspaces.py:409: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-e1ee0edb62', 'EnableWorkDocs': True, 'Tags': [{'Key': 'foo1', 'Value': 'bar1'}]} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ______________________________ test_describe_tags ______________________________ 544s 544s @mock_aws 544s def test_describe_tags(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory( 544s DirectoryId=directory_id, 544s EnableWorkDocs=True, 544s Tags=[ 544s {"Key": "foo", "Value": "bar"}, 544s ], 544s ) 544s 544s tests/test_workspaces/test_workspaces.py:430: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-fa73b1b62e', 'EnableWorkDocs': True, 'Tags': [{'Key': 'foo', 'Value': 'bar'}]} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _______________________ test_describe_client_properties ________________________ 544s 544s @mock_aws 544s def test_describe_client_properties(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory( 544s DirectoryId=directory_id, 544s EnableWorkDocs=True, 544s ) 544s 544s tests/test_workspaces/test_workspaces.py:445: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-40d9d5f2e0', 'EnableWorkDocs': True} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ________________________ test_modify_client_properties _________________________ 544s 544s @mock_aws 544s def test_modify_client_properties(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory( 544s DirectoryId=directory_id, 544s EnableWorkDocs=True, 544s ) 544s 544s tests/test_workspaces/test_workspaces.py:457: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-90fbf43def', 'EnableWorkDocs': True} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _________________________ test_create_workspace_image __________________________ 544s 544s @mock_aws 544s def test_create_workspace_image(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:478: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-3425b9126d', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s __________________ test_create_workspace_image_already_exists __________________ 544s 544s @mock_aws 544s def test_create_workspace_image_already_exists(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:520: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-f8b7cde199', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ________________________ test_describe_workspace_images ________________________ 544s 544s @mock_aws 544s def test_describe_workspace_images(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:550: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-192067a9d5', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s ____________________ test_update_workspace_image_permission ____________________ 544s 544s @mock_aws 544s def test_update_workspace_image_permission(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:581: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-4d9717b5d4', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s __________________ test_describe_workspace_image_permissions ___________________ 544s 544s @mock_aws 544s def test_describe_workspace_image_permissions(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:614: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-21a6b58dfd', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _____________________ test_deregister_workspace_directory ______________________ 544s 544s @mock_aws 544s def test_deregister_workspace_directory(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s directory_id = create_directory() 544s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 544s 544s tests/test_workspaces/test_workspaces.py:651: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-1ce8bfe409', 'EnableWorkDocs': False} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s _____________________ test_modify_selfservice_permissions ______________________ 544s 544s @mock_aws 544s def test_modify_selfservice_permissions(): 544s client = boto3.client("workspaces", region_name="eu-west-1") 544s  544s directory_id = create_directory() 544s > client.register_workspace_directory( 544s DirectoryId=directory_id, 544s EnableWorkDocs=True, 544s ) 544s 544s tests/test_workspaces/test_workspaces.py:664: 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 544s return self._make_api_call(operation_name, kwargs) 544s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 544s return func(*args, **kwargs) 544s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 544s request_dict = self._convert_to_request_dict( 544s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 544s request_dict = self._serializer.serialize_to_request( 544s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 544s 544s self = 544s parameters = {'DirectoryId': 'd-099bb63c4c', 'EnableWorkDocs': True} 544s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 544s 544s def serialize_to_request(self, parameters, operation_model): 544s input_shape = operation_model.input_shape 544s if input_shape is not None: 544s report = self._param_validator.validate( 544s parameters, operation_model.input_shape 544s ) 544s if report.has_errors(): 544s > raise ParamValidationError(report=report.generate_report()) 544s E botocore.exceptions.ParamValidationError: Parameter validation failed: 544s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 544s 544s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 544s =============================== warnings summary =============================== 544s tests/test_core/test_docker.py:11 544s /tmp/autopkgtest.Yozbrn/autopkgtest_tmp/build/tests/test_core/test_docker.py:11: PytestUnknownMarkWarning: Unknown pytest.mark.order - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 544s @pytest.mark.order(0) 544s 544s tests/test_core/test_docker.py:24 544s /tmp/autopkgtest.Yozbrn/autopkgtest_tmp/build/tests/test_core/test_docker.py:24: PytestUnknownMarkWarning: Unknown pytest.mark.order - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 544s @pytest.mark.order(0) 544s 544s ../../../../usr/lib/python3/dist-packages/aws_xray_sdk/core/sampling/default_sampler.py:5 544s /usr/lib/python3/dist-packages/aws_xray_sdk/core/sampling/default_sampler.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 544s from pkg_resources import resource_filename 544s 544s tests/test_cognitoidp/test_cognitoidp.py: 36 warnings 544s /usr/lib/python3/dist-packages/pycognito/aws_srp.py:310: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 544s timestamp = self.get_cognito_formatted_timestamp(datetime.datetime.utcnow()) 544s 544s tests/test_ec2/test_key_pairs.py::test_key_pairs_invalid_boto3 544s /usr/lib/python3/dist-packages/moto/ec2/utils.py:759: CryptographyDeprecationWarning: SSH DSA keys are deprecated and will be removed in a future release. 544s public_key = serialization.load_ssh_public_key(key_material) 544s 544s tests/test_glue/test_datacatalog.py::test_create_database 544s /usr/lib/python3/dist-packages/pyparsing/core.py:5637: SyntaxWarning: 'return' in a 'finally' block 544s return f"{type(self).__name__}: {retString}" 544s 544s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 544s =========================== short test summary info ============================ 544s FAILED tests/test_awslambda/test_awslambda_cloudformation.py::test_event_source_mapping_create_from_cloudformation_json - botocore.exceptions.ClientError: An error occurred (404) when calling the L... 544s FAILED tests/test_awslambda/test_awslambda_cloudformation.py::test_event_source_mapping_delete_stack - botocore.exceptions.ClientError: An error occurred (404) when calling the L... 544s FAILED tests/test_awslambda/test_awslambda_cloudformation.py::test_event_source_mapping_update_from_cloudformation_json - botocore.exceptions.ClientError: An error occurred (404) when calling the L... 544s FAILED tests/test_awslambda/test_awslambda_cloudformation.py::test_event_source_mapping_delete_from_cloudformation_json - botocore.exceptions.ClientError: An error occurred (404) when calling the L... 544s FAILED tests/test_awslambda/test_lambda_eventsourcemapping.py::test_create_event_source_mapping - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 544s FAILED tests/test_awslambda/test_lambda_eventsourcemapping.py::test_list_event_source_mappings - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 544s FAILED tests/test_awslambda/test_lambda_eventsourcemapping.py::test_get_event_source_mapping - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 544s FAILED tests/test_awslambda/test_lambda_eventsourcemapping.py::test_update_event_source_mapping - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 544s FAILED tests/test_awslambda/test_lambda_eventsourcemapping.py::test_delete_event_source_mapping - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_describe_flow_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_delete_flow_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_start_stop_flow_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_unknown_flow - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_tag_resource_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_vpc_interfaces_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_vpc_interfaces_fails - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_remove_flow_vpc_interface_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_remove_flow_vpc_interface_fails - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_outputs_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_outputs_fails - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_output_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_output_fails - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_remove_flow_output_fails - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_remove_flow_output_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_sources_fails - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_sources_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_source_fails - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_source_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_grant_flow_entitlements_fails - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_grant_flow_entitlements_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_revoke_flow_entitlement_fails - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_revoke_flow_entitlement_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_entitlement_fails - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_entitlement_succeeds - TypeError: argument of type 'NoneType' is not a container or iterable 544s FAILED tests/test_opsworks/test_apps.py::test_create_app_response - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 544s FAILED tests/test_opsworks/test_apps.py::test_describe_apps - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 544s FAILED tests/test_opsworks/test_instances.py::test_create_instance - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 544s FAILED tests/test_opsworks/test_instances.py::test_describe_instances - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 544s FAILED tests/test_opsworks/test_instances.py::test_ec2_integration - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 544s FAILED tests/test_opsworks/test_layers.py::test_create_layer_response - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 544s FAILED tests/test_opsworks/test_layers.py::test_describe_layers - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 544s FAILED tests/test_opsworks/test_stack.py::test_create_stack_response - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 544s FAILED tests/test_opsworks/test_stack.py::test_describe_stacks - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 544s FAILED tests/test_rds/test_rds_proxy.py::test_create_db_proxy - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_rds/test_rds_proxy.py::test_describe_db_proxies - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_rds/test_rds_proxy.py::test_list_tags_db_proxy - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_rds/test_rds_proxy.py::test_create_db_proxy_invalid_subnet - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_rds/test_rds_proxy.py::test_create_db_proxy_duplicate_name - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py::test_get_resources_workspaces - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py::test_get_resources_workspace_directories - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py::test_get_resources_workspace_images - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_robomaker/test_robomaker.py::test_robot_application - botocore.exceptions.UnknownServiceError: Unknown service: 'robomaker'. Vali... 544s FAILED tests/test_s3/test_s3_lock.py::test_locked_object_governance_mode[bypass] - AssertionError: assert 'Deleted' in {'Errors': [{'Code': 'AccessDenied', 'K... 544s FAILED tests/test_s3tables/test_s3tables.py::test_get_table - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 544s FAILED tests/test_s3tables/test_s3tables.py::test_delete_table_deletes_underlying_table_storage - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 544s FAILED tests/test_s3tables/test_s3tables.py::test_update_table_metadata_location - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 544s FAILED tests/test_s3tables/test_s3tables.py::test_write_metadata_to_table - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 544s FAILED tests/test_s3tables/test_s3tables.py::test_underlying_table_storage_does_not_support_list_objects - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 544s FAILED tests/test_s3tables/test_s3tables.py::test_underlying_table_storage_does_not_support_delete_object - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 544s FAILED tests/test_s3tables/test_s3tables.py::test_rename_table - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 544s FAILED tests/test_s3tables/test_server.py::test_s3tables_get_table - assert 404 == 200 544s FAILED tests/test_sqs/test_sqs_integration.py::test_invoke_fake_function_from_sqs_queue - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 544s FAILED tests/test_workspaces/test_workspaces.py::test_create_workspaces - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_create_workspaces_with_auto_stop_timeout_and_alwayson - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_create_workspaces_with_auto_stop_timeout_and_manual - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspaces - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspaces_with_directory_and_username - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspaces_invalid_parameters - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspaces_only_user_name_used - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_register_workspace_directory - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_register_workspace_directory_enable_self_service - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_register_workspace_directory_with_subnets - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspace_directories - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspace_directories_with_directory_id - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_modify_workspace_creation_properties - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_modify_workspace_creation_properties_invalid_request - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_create_tags - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_describe_tags - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_describe_client_properties - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_modify_client_properties - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_create_workspace_image - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_create_workspace_image_already_exists - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspace_images - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_update_workspace_image_permission - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspace_image_permissions - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_deregister_workspace_directory - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s FAILED tests/test_workspaces/test_workspaces.py::test_modify_selfservice_permissions - botocore.exceptions.ParamValidationError: Parameter validation failed: 544s ERROR tests/test_qldb/test_qldb.py::test_create_describe_update_and_delete_ledger - botocore.exceptions.UnknownServiceError: Unknown service: 'qldb'. Valid ser... 544s ERROR tests/test_qldb/test_qldb.py::test_tag_resource_and_list_tags_for_resource - botocore.exceptions.UnknownServiceError: Unknown service: 'qldb'. Valid ser... 544s = 87 failed, 9715 passed, 16 skipped, 140 deselected, 41 warnings, 2 errors in 452.65s (0:07:32) = 549s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.Yozbrn/autopkgtest_tmp/build; python3.14 -m pytest -m 'not network and not requires_docker' tests --deselect tests/test_cloudformation/test_validate.py --deselect tests/test_dynamodb/test_dynamodb_import_table.py --deselect tests/test_dynamodb/test_dynamodb_statements.py --deselect tests/test_s3/test_s3_select.py --deselect tests/test_stepfunctions/parser/ --deselect 'tests/test_stepfunctions/test_stepfunctions_versions.py::test_describe_state_machine_using_version_arn[use_parser]' --deselect tests/test_dynamodb/test_dynamodb_account_mode.py::test_dynamodb_with_account_id_routing --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_entire_service --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_specific_url --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_wildcard_urls --deselect tests/test_firehose/test_firehose_put.py::test_put_record_http_destination --deselect tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination --deselect tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header --deselect tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins 549s I: pybuild base:311: cd /tmp/autopkgtest.Yozbrn/autopkgtest_tmp/build; python3.13 -m pytest -m 'not network and not requires_docker' tests --deselect tests/test_cloudformation/test_validate.py --deselect tests/test_dynamodb/test_dynamodb_import_table.py --deselect tests/test_dynamodb/test_dynamodb_statements.py --deselect tests/test_s3/test_s3_select.py --deselect tests/test_stepfunctions/parser/ --deselect 'tests/test_stepfunctions/test_stepfunctions_versions.py::test_describe_state_machine_using_version_arn[use_parser]' --deselect tests/test_dynamodb/test_dynamodb_account_mode.py::test_dynamodb_with_account_id_routing --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_entire_service --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_specific_url --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_wildcard_urls --deselect tests/test_firehose/test_firehose_put.py::test_put_record_http_destination --deselect tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination --deselect tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header --deselect tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins 566s ============================= test session starts ============================== 566s platform linux -- Python 3.13.9, pytest-8.3.5, pluggy-1.6.0 566s rootdir: /tmp/autopkgtest.Yozbrn/autopkgtest_tmp/build 566s configfile: pyproject.toml 566s plugins: typeguard-4.4.2 566s collected 9960 items / 140 deselected / 9820 selected 566s 569s tests/test_acm/test_acm.py ................................ [ 0%] 571s tests/test_acmpca/test_acmpca.py ................... [ 0%] 571s tests/test_amp/test_amp_logging_config.py .... [ 0%] 572s tests/test_amp/test_amp_rulegroupnamespaces.py ....... [ 0%] 572s tests/test_amp/test_amp_workspaces.py ........ [ 0%] 573s tests/test_apigateway/test_apigateway.py ............................... [ 1%] 573s .......................................... [ 1%] 573s tests/test_apigateway/test_apigateway_cloudformation.py .. [ 1%] 573s tests/test_apigateway/test_apigateway_custom_ids.py ... [ 1%] 573s tests/test_apigateway/test_apigateway_deployments.py .......... [ 1%] 573s tests/test_apigateway/test_apigateway_export.py ... [ 1%] 574s tests/test_apigateway/test_apigateway_gatewayresponses.py ........ [ 1%] 574s tests/test_apigateway/test_apigateway_importrestapi.py .... [ 1%] 574s tests/test_apigateway/test_apigateway_integration.py ..... [ 1%] 574s tests/test_apigateway/test_apigateway_putrestapi.py ........ [ 1%] 574s tests/test_apigateway/test_apigateway_stage.py ................ [ 2%] 574s tests/test_apigateway/test_apigateway_validators.py ..... [ 2%] 574s tests/test_apigateway/test_apigateway_vpclink.py ...... [ 2%] 575s tests/test_apigateway/test_server.py ..... [ 2%] 575s tests/test_apigatewaymanagementapi/test_apigatewaymanagementapi.py .... [ 2%] 575s tests/test_apigatewayv2/test_apigatewayv2.py ............ [ 2%] 575s tests/test_apigatewayv2/test_apigatewayv2_authorizers.py ........ [ 2%] 575s tests/test_apigatewayv2/test_apigatewayv2_domains.py ..... [ 2%] 575s tests/test_apigatewayv2/test_apigatewayv2_integrationresponses.py ...... [ 2%] 575s . [ 2%] 575s tests/test_apigatewayv2/test_apigatewayv2_integrations.py ........... [ 2%] 575s tests/test_apigatewayv2/test_apigatewayv2_mappings.py ....... [ 2%] 575s tests/test_apigatewayv2/test_apigatewayv2_models.py ...... [ 2%] 575s tests/test_apigatewayv2/test_apigatewayv2_reimport.py .... [ 2%] 575s tests/test_apigatewayv2/test_apigatewayv2_routes.py ............... [ 3%] 575s tests/test_apigatewayv2/test_apigatewayv2_stages.py ... [ 3%] 576s tests/test_apigatewayv2/test_apigatewayv2_tags.py .... [ 3%] 576s tests/test_apigatewayv2/test_apigatewayv2_vpclinks.py ........ [ 3%] 576s tests/test_apigatewayv2/test_server.py . [ 3%] 576s tests/test_appconfig/test_appconfig_applications.py .. [ 3%] 576s tests/test_appconfig/test_appconfig_config_profiles.py .. [ 3%] 576s tests/test_appconfig/test_appconfig_hosted_config_versions.py ... [ 3%] 576s tests/test_applicationautoscaling/test_applicationautoscaling.py ....... [ 3%] 576s ...... [ 3%] 576s tests/test_applicationautoscaling/test_applicationautoscaling_policies.py . [ 3%] 576s ... [ 3%] 576s tests/test_applicationautoscaling/test_validation.py ....... [ 3%] 576s tests/test_appmesh/test_appmesh.py ......... [ 3%] 577s tests/test_appsync/test_appsync.py ................. [ 3%] 577s tests/test_appsync/test_appsync_apikeys.py ....... [ 3%] 577s tests/test_appsync/test_appsync_schema.py ........... [ 3%] 577s tests/test_appsync/test_appsync_tags.py ...... [ 4%] 577s tests/test_appsync/test_server.py . [ 4%] 577s tests/test_athena/test_athena.py ....................... [ 4%] 577s tests/test_athena/test_athena_integration.py . [ 4%] 577s tests/test_athena/test_athena_server_api.py .s.. [ 4%] 579s tests/test_autoscaling/test_autoscaling.py ............................. [ 4%] 580s ........... [ 4%] 580s tests/test_autoscaling/test_autoscaling_cloudformation.py ..... [ 4%] 580s tests/test_autoscaling/test_autoscaling_group_filters.py .... [ 4%] 581s tests/test_autoscaling/test_autoscaling_groups.py ............ [ 4%] 581s tests/test_autoscaling/test_autoscaling_metrics.py . [ 4%] 581s tests/test_autoscaling/test_autoscaling_scheduledactions.py .......... [ 5%] 581s tests/test_autoscaling/test_autoscaling_tags.py ........ [ 5%] 582s tests/test_autoscaling/test_autoscaling_warm_pools.py .... [ 5%] 583s tests/test_autoscaling/test_elb.py .................. [ 5%] 583s tests/test_autoscaling/test_elbv2.py .. [ 5%] 584s tests/test_autoscaling/test_launch_configurations.py ............. [ 5%] 584s tests/test_autoscaling/test_policies.py .......... [ 5%] 584s tests/test_autoscaling/test_server.py . [ 5%] 585s tests/test_awslambda/test_awslambda_cloudformation.py ...FFFF [ 5%] 586s tests/test_awslambda/test_lambda.py .................................... [ 6%] 587s ................................ [ 6%] 587s tests/test_awslambda/test_lambda_alias.py ............... [ 6%] 588s tests/test_awslambda/test_lambda_concurrency.py ...... [ 6%] 588s tests/test_awslambda/test_lambda_eventsourcemapping.py FFFFF [ 6%] 588s tests/test_awslambda/test_lambda_function_urls.py ...... [ 6%] 588s tests/test_awslambda/test_lambda_invoke.py s. [ 6%] 588s tests/test_awslambda/test_lambda_layers.py ........ [ 6%] 589s tests/test_awslambda/test_lambda_policy.py ............. [ 6%] 589s tests/test_awslambda/test_lambda_tags.py ... [ 6%] 589s tests/test_awslambda/test_policy.py . [ 6%] 589s tests/test_awslambda_simple/test_lambda_simple.py ... [ 7%] 589s tests/test_backup/test_backup.py .................. [ 7%] 589s tests/test_batch/test_batch.py .. [ 7%] 589s tests/test_batch/test_batch_cloudformation.py ... [ 7%] 590s tests/test_batch/test_batch_compute_envs.py ............ [ 7%] 590s tests/test_batch/test_batch_job_queue.py ........ [ 7%] 590s tests/test_batch/test_batch_jobs.py ......... [ 7%] 590s tests/test_batch/test_batch_scheduling_policy.py ..... [ 7%] 591s tests/test_batch/test_batch_tags_job_definition.py ... [ 7%] 591s tests/test_batch/test_batch_tags_job_queue.py .... [ 7%] 591s tests/test_batch/test_batch_tags_scheduling_policy.py . [ 7%] 592s tests/test_batch/test_batch_task_definition.py .................. [ 7%] 592s tests/test_batch/test_server.py . [ 7%] 592s tests/test_batch/test_utils.py .................. [ 8%] 592s tests/test_batch_simple/test_batch_cloudformation.py ... [ 8%] 592s tests/test_batch_simple/test_batch_compute_envs.py .. [ 8%] 593s tests/test_batch_simple/test_batch_jobs.py ...... [ 8%] 594s tests/test_bedrock/test_bedrock.py ..................................... [ 8%] 594s ........... [ 8%] 594s tests/test_bedrockagent/test_bedrockagent.py ........................... [ 8%] 594s  [ 8%] 595s tests/test_budgets/test_budgets.py ........ [ 9%] 595s tests/test_budgets/test_notifications.py ..... [ 9%] 595s tests/test_budgets/test_server.py . [ 9%] 595s tests/test_ce/test_ce.py ....... [ 9%] 595s tests/test_ce/test_ce_cost_and_usage.py .. [ 9%] 595s tests/test_ce/test_ce_tags.py .. [ 9%] 600s tests/test_cloudformation/test_cloudformation_custom_resources.py s.. [ 9%] 600s tests/test_cloudformation/test_cloudformation_depends_on.py ... [ 9%] 600s tests/test_cloudformation/test_cloudformation_multi_accounts.py ........ [ 9%] 600s . [ 9%] 600s tests/test_cloudformation/test_cloudformation_nested_stacks.py .... [ 9%] 600s tests/test_cloudformation/test_cloudformation_stack_crud_boto3.py ...... [ 9%] 602s ........................................................................ [ 10%] 603s ................................ [ 10%] 603s tests/test_cloudformation/test_cloudformation_stack_integration.py ..... [ 10%] 604s ............................. [ 10%] 604s tests/test_cloudformation/test_cloudformation_stack_policies.py ........ [ 10%] 604s  [ 10%] 604s tests/test_cloudformation/test_conditions.py ... [ 10%] 604s tests/test_cloudformation/test_import_value.py .. [ 10%] 604s tests/test_cloudformation/test_server.py . [ 10%] 604s tests/test_cloudformation/test_stack_parsing.py ........................ [ 11%] 604s . [ 11%] 604s tests/test_cloudformation/test_utilities.py .... [ 11%] 604s tests/test_cloudfront/test_cloudfront.py ..... [ 11%] 604s tests/test_cloudfront/test_cloudfront_dist_tags.py .. [ 11%] 604s tests/test_cloudfront/test_cloudfront_distributions.py ................. [ 11%] 605s .......................................... [ 11%] 605s tests/test_cloudfront/test_cloudfront_invalidation.py ....... [ 12%] 605s tests/test_cloudfront/test_cloudfront_keys.py .... [ 12%] 605s tests/test_cloudfront/test_cloudfront_oac.py .. [ 12%] 605s tests/test_cloudfront/test_server.py . [ 12%] 605s tests/test_cloudhsmv2/test_cloudhsmv2.py ............. [ 12%] 606s tests/test_cloudtrail/test_cloudtrail.py ............................. [ 12%] 606s tests/test_cloudtrail/test_cloudtrail_eventselectors.py ........ [ 12%] 606s tests/test_cloudtrail/test_cloudtrail_tags.py .... [ 12%] 606s tests/test_cloudtrail/test_server.py . [ 12%] 606s tests/test_cloudwatch/test_cloudwatch_alarms.py ....... [ 12%] 607s tests/test_cloudwatch/test_cloudwatch_boto3.py ......................... [ 12%] 607s ................ [ 13%] 607s tests/test_cloudwatch/test_cloudwatch_dashboards.py ....... [ 13%] 607s tests/test_cloudwatch/test_cloudwatch_expression_parser.py ... [ 13%] 607s tests/test_cloudwatch/test_cloudwatch_expressions.py ... [ 13%] 607s tests/test_cloudwatch/test_cloudwatch_tags.py ....... [ 13%] 608s tests/test_codebuild/test_codebuild.py ................... [ 13%] 608s tests/test_codecommit/test_codecommit.py ........ [ 13%] 608s tests/test_codepipeline/test_codepipeline.py ................ [ 13%] 608s tests/test_cognitoidentity/test_cognitoidentity.py ..................... [ 13%] 608s .. [ 14%] 608s tests/test_cognitoidentity/test_server.py ... [ 14%] 612s tests/test_cognitoidp/test_cognitoidp.py ............................... [ 14%] 619s ........................................................................ [ 15%] 627s ........................................................................ [ 15%] 631s ................................... [ 16%] 632s tests/test_cognitoidp/test_cognitoidp_exceptions.py ... [ 16%] 632s tests/test_cognitoidp/test_cognitoidp_replay.py .. [ 16%] 632s tests/test_cognitoidp/test_server.py ... [ 16%] 632s tests/test_comprehend/test_comprehend.py .................. [ 16%] 635s tests/test_config/test_config.py .................................. [ 16%] 635s tests/test_config/test_config_rules.py ........ [ 16%] 635s tests/test_config/test_config_rules_integration.py ... [ 16%] 635s tests/test_config/test_config_tags.py ... [ 16%] 636s tests/test_core/test_account_id_resolution.py . [ 16%] 637s tests/test_core/test_auth.py .......................... [ 17%] 637s tests/test_core/test_backenddict.py ............. [ 17%] 637s tests/test_core/test_backends.py . [ 17%] 637s tests/test_core/test_botocore_stubber.py . [ 17%] 637s tests/test_core/test_config.py .. [ 17%] 638s tests/test_core/test_decorator_calls.py ............................ [ 17%] 638s tests/test_core/test_ec2_vpc_endpoint_services.py ... [ 17%] 638s tests/test_core/test_environ_patching.py ... [ 17%] 638s tests/test_core/test_importorder.py ....... [ 17%] 638s tests/test_core/test_instance_metadata.py .... [ 17%] 638s tests/test_core/test_mock_regions.py ..... [ 17%] 638s tests/test_core/test_moto_api.py ...... [ 17%] 638s tests/test_core/test_mypy.py ... [ 17%] 638s tests/test_core/test_nested.py .. [ 18%] 638s tests/test_core/test_proxy.py sssss [ 18%] 638s tests/test_core/test_request_mocking.py ... [ 18%] 638s tests/test_core/test_request_passthrough.py . [ 18%] 638s tests/test_core/test_responses.py ......... [ 18%] 639s tests/test_core/test_responses_module.py ..... [ 18%] 640s tests/test_core/test_server.py .... [ 18%] 640s tests/test_core/test_settings.py ......... [ 18%] 640s tests/test_core/test_url_base_regex.py ................................. [ 18%] 641s ........................................................................ [ 19%] 641s ..................................................... [ 19%] 641s tests/test_core/test_url_mapping.py .. [ 20%] 641s tests/test_core/test_utils.py ............ [ 20%] 641s tests/test_databrew/test_databrew_datasets.py ............ [ 20%] 642s tests/test_databrew/test_databrew_jobs.py .......................... [ 20%] 642s tests/test_databrew/test_databrew_recipes.py ........................... [ 20%] 642s ......... [ 20%] 642s tests/test_databrew/test_databrew_rulesets.py .......... [ 20%] 642s tests/test_datapipeline/test_datapipeline.py ........ [ 21%] 642s tests/test_datapipeline/test_datapipeline_cloudformation.py . [ 21%] 642s tests/test_datapipeline/test_server.py . [ 21%] 642s tests/test_datasync/test_datasync.py ................... [ 21%] 643s tests/test_dax/test_dax.py ............................... [ 21%] 643s tests/test_dax/test_server.py . [ 21%] 643s tests/test_directconnect/test_directconnect.py .......... [ 21%] 643s tests/test_dms/test_dms.py ......... [ 21%] 644s tests/test_ds/test_ds.py ........... [ 21%] 644s tests/test_ds/test_ds_ad_connect.py ........ [ 21%] 645s tests/test_ds/test_ds_microsoft_ad.py ......... [ 22%] 645s tests/test_ds/test_ds_simple_ad_directory.py .... [ 22%] 645s tests/test_ds/test_ds_tags.py ... [ 22%] 645s tests/test_dsql/test_dsql.py .... [ 22%] 646s tests/test_dynamodb/exceptions/test_dynamodb_exceptions.py ............. [ 22%] 646s .............................................. [ 22%] 646s tests/test_dynamodb/exceptions/test_dynamodb_transactions.py ........ [ 22%] 646s tests/test_dynamodb/exceptions/test_key_length_exceptions.py ........ [ 22%] 646s tests/test_dynamodb/models/test_item.py ............. [ 23%] 646s tests/test_dynamodb/models/test_key_condition_expression_parser.py ..... [ 23%] 646s .......................... [ 23%] 646s tests/test_dynamodb/models/test_utilities.py ............ [ 23%] 647s tests/test_dynamodb/test_dynamodb.py ................................... [ 23%] 650s ........................................................................ [ 24%] 651s .................................. [ 24%] 651s tests/test_dynamodb/test_dynamodb_batch_get_item.py ....... [ 25%] 651s tests/test_dynamodb/test_dynamodb_batch_write.py ... [ 25%] 652s tests/test_dynamodb/test_dynamodb_cloudformation.py ... [ 25%] 652s tests/test_dynamodb/test_dynamodb_condition_expressions.py .......... [ 25%] 652s tests/test_dynamodb/test_dynamodb_consumedcapacity.py ...... [ 25%] 652s tests/test_dynamodb/test_dynamodb_create_table.py .............. [ 25%] 652s tests/test_dynamodb/test_dynamodb_executor.py ....................... [ 25%] 653s tests/test_dynamodb/test_dynamodb_export_table.py ....... [ 25%] 653s tests/test_dynamodb/test_dynamodb_expression_tokenizer.py .............. [ 25%] 653s ....... [ 25%] 653s tests/test_dynamodb/test_dynamodb_expressions.py ....................... [ 26%] 653s ................. [ 26%] 653s tests/test_dynamodb/test_dynamodb_query.py ................... [ 26%] 654s tests/test_dynamodb/test_dynamodb_resource_policy.py .............. [ 26%] 654s tests/test_dynamodb/test_dynamodb_scan.py .......................... [ 26%] 655s tests/test_dynamodb/test_dynamodb_table_with_range_key.py .............. [ 27%] 655s ........... [ 27%] 655s tests/test_dynamodb/test_dynamodb_table_without_range_key.py ........... [ 27%] 655s ............... [ 27%] 656s tests/test_dynamodb/test_dynamodb_transact.py .................. [ 27%] 656s tests/test_dynamodb/test_dynamodb_update_expressions.py ........ [ 27%] 656s tests/test_dynamodb/test_dynamodb_update_table.py ..... [ 27%] 656s tests/test_dynamodb/test_dynamodb_validation.py ..................... [ 27%] 656s tests/test_dynamodb/test_server.py . [ 27%] 656s tests/test_dynamodb_v20111205/test_server.py ........................... [ 28%] 656s .............. [ 28%] 656s tests/test_dynamodb_v20111205/test_servermode.py ss [ 28%] 656s tests/test_dynamodbstreams/test_dynamodbstreams.py .......... [ 28%] 656s tests/test_ebs/test_ebs.py ........ [ 28%] 656s tests/test_ec2/test_account_attributes.py . [ 28%] 660s tests/test_ec2/test_amis.py ............................................ [ 29%] 660s . [ 29%] 661s tests/test_ec2/test_availability_zones_and_regions.py .............. [ 29%] 661s tests/test_ec2/test_carrier_gateways.py ...... [ 29%] 661s tests/test_ec2/test_customer_gateways.py ...... [ 29%] 662s tests/test_ec2/test_dhcp_options.py .................. [ 29%] 663s tests/test_ec2/test_ec2_cloudformation.py ...................... [ 29%] 663s tests/test_ec2/test_ec2_integration.py . [ 29%] 663s tests/test_ec2/test_egress_only_igw.py ..... [ 29%] 665s tests/test_ec2/test_elastic_block_store.py ............................. [ 30%] 665s ............ [ 30%] 667s tests/test_ec2/test_elastic_ip_addresses.py ...................... [ 30%] 668s tests/test_ec2/test_elastic_network_interfaces.py ...................... [ 30%] 669s ......... [ 30%] 669s tests/test_ec2/test_fleets.py .................... [ 30%] 670s tests/test_ec2/test_flow_logs.py .............. [ 31%] 670s tests/test_ec2/test_flow_logs_cloudformation.py .. [ 31%] 670s tests/test_ec2/test_general.py .. [ 31%] 670s tests/test_ec2/test_hosts.py ........ [ 31%] 671s tests/test_ec2/test_iam_integration.py ....... [ 31%] 671s tests/test_ec2/test_instance_type_offerings.py .... [ 31%] 672s tests/test_ec2/test_instance_types.py ........... [ 31%] 674s tests/test_ec2/test_instances.py ....................................... [ 31%] 677s .......................................................... [ 32%] 678s tests/test_ec2/test_internet_gateways.py ................. [ 32%] 679s tests/test_ec2/test_key_pairs.py ................... [ 32%] 679s tests/test_ec2/test_launch_templates.py ...................... [ 33%] 680s tests/test_ec2/test_launch_templates_cloudformation.py .... [ 33%] 680s tests/test_ec2/test_nat_gateway.py ........ [ 33%] 681s tests/test_ec2/test_network_acls.py ............... [ 33%] 681s tests/test_ec2/test_prefix_lists.py ............. [ 33%] 682s tests/test_ec2/test_regions.py ........ [ 33%] 683s tests/test_ec2/test_route_tables.py ............................. [ 33%] 685s tests/test_ec2/test_security_groups.py ................................. [ 34%] 686s ................... [ 34%] 686s tests/test_ec2/test_security_groups_cloudformation.py .... [ 34%] 686s tests/test_ec2/test_server.py ... [ 34%] 686s tests/test_ec2/test_settings.py .... [ 34%] 688s tests/test_ec2/test_spot_fleet.py ................. [ 34%] 688s tests/test_ec2/test_spot_instances.py ............ [ 34%] 690s tests/test_ec2/test_subnets.py ............................. [ 35%] 691s tests/test_ec2/test_tags.py ................... [ 35%] 693s tests/test_ec2/test_transit_gateway.py ............................... [ 35%] 693s tests/test_ec2/test_transit_gateway_cloudformation.py .. [ 35%] 694s tests/test_ec2/test_transit_gateway_peering_attachments.py ........ [ 35%] 694s tests/test_ec2/test_utils.py ....... [ 35%] 694s tests/test_ec2/test_virtual_private_gateways.py ................ [ 35%] 694s tests/test_ec2/test_vpc_endpoint_services_integration.py . [ 35%] 697s tests/test_ec2/test_vpc_peering.py ........................... [ 36%] 698s tests/test_ec2/test_vpc_service_configuration_integration.py ........... [ 36%] 698s .... [ 36%] 700s tests/test_ec2/test_vpcs.py ............................................ [ 36%] 700s ........ [ 36%] 700s tests/test_ec2/test_vpn_connections.py ...... [ 36%] 700s tests/test_ec2/test_windows.py . [ 36%] 700s tests/test_ec2instanceconnect/test_ec2instanceconnect_boto3.py . [ 36%] 701s tests/test_ecr/test_ecr_boto3.py ....................................... [ 37%] 701s ............................................................ [ 37%] 701s tests/test_ecr/test_ecr_cloudformation.py ... [ 37%] 701s tests/test_ecr/test_ecr_policy_validation.py ...................... [ 38%] 701s tests/test_ecr/test_ecr_scanning_config.py ... [ 38%] 701s tests/test_ecs/test_ecs_account_settings.py ............. [ 38%] 702s tests/test_ecs/test_ecs_boto3.py ....................................... [ 38%] 704s ............................................................ [ 39%] 704s tests/test_ecs/test_ecs_capacity_provider.py ....... [ 39%] 704s tests/test_ecs/test_ecs_cloudformation.py .......... [ 39%] 704s tests/test_ecs/test_ecs_efs.py . [ 39%] 704s tests/test_ecs/test_ecs_task_def_tags.py . [ 39%] 705s tests/test_ecs/test_ecs_task_tags.py .. [ 39%] 705s tests/test_ecs/test_ecs_tasksets.py ......... [ 39%] 705s tests/test_efs/test_access_point_tagging.py .... [ 39%] 705s tests/test_efs/test_access_points.py ....... [ 39%] 705s tests/test_efs/test_efs_cloudformation.py .. [ 39%] 705s tests/test_efs/test_file_system.py ................. [ 39%] 705s tests/test_efs/test_filesystem_policy.py .. [ 40%] 705s tests/test_efs/test_filesystem_tagging.py .... [ 40%] 705s tests/test_efs/test_lifecycle_config.py ... [ 40%] 706s tests/test_efs/test_mount_target.py ................... [ 40%] 706s tests/test_efs/test_mount_target_security_groups.py .... [ 40%] 706s tests/test_efs/test_server.py ....... [ 40%] 745s tests/test_eks/test_eks.py ............................................. [ 40%] 748s ............................................ [ 41%] 749s tests/test_eks/test_eks_ec2.py ... [ 41%] 750s tests/test_eks/test_server.py .................. [ 41%] 750s tests/test_elasticache/test_elasticache.py ............................. [ 41%] 750s .... [ 41%] 750s tests/test_elasticache/test_server.py . [ 41%] 751s tests/test_elasticbeanstalk/test_elasticbeanstalk.py .......... [ 41%] 751s tests/test_elasticbeanstalk/test_server.py . [ 41%] 751s tests/test_elastictranscoder/test_elastictranscoder.py ................ [ 42%] 751s tests/test_elastictranscoder/test_server.py . [ 42%] 751s tests/test_elb/test_elb.py ......................................... [ 42%] 751s tests/test_elb/test_elb_availabilityzones.py . [ 42%] 751s tests/test_elb/test_elb_cloudformation.py ... [ 42%] 752s tests/test_elb/test_elb_policies.py .......... [ 42%] 752s tests/test_elb/test_elb_subnets.py .. [ 42%] 752s tests/test_elb/test_server.py . [ 42%] 754s tests/test_elbv2/test_elbv2.py ......................................... [ 43%] 756s ................ [ 43%] 757s tests/test_elbv2/test_elbv2_cloudformation.py ..... [ 43%] 757s tests/test_elbv2/test_elbv2_integration.py . [ 43%] 757s tests/test_elbv2/test_elbv2_listener_attributes.py . [ 43%] 757s tests/test_elbv2/test_elbv2_listener_rule_tags.py ... [ 43%] 759s tests/test_elbv2/test_elbv2_listener_rules.py .......................... [ 43%] 760s ............ [ 43%] 760s tests/test_elbv2/test_elbv2_listener_tags.py ... [ 43%] 761s tests/test_elbv2/test_elbv2_set_subnets.py .. [ 43%] 762s tests/test_elbv2/test_elbv2_target_groups.py ........................... [ 44%] 764s ............................................. [ 44%] 764s tests/test_elbv2/test_elbv2_target_health.py .. [ 44%] 764s tests/test_elbv2/test_server.py . [ 44%] 764s tests/test_emr/test_emr.py . [ 44%] 769s tests/test_emr/test_emr_boto3.py ............................ [ 44%] 770s tests/test_emr/test_emr_cloudformation.py ....... [ 44%] 770s tests/test_emr/test_emr_integration.py ...... [ 45%] 770s tests/test_emr/test_server.py . [ 45%] 770s tests/test_emr/test_utils.py .. [ 45%] 771s tests/test_emrcontainers/test_emrcontainers.py ......................... [ 45%] 771s ................................ [ 45%] 771s tests/test_emrcontainers/test_server.py . [ 45%] 772s tests/test_emrserverless/test_emrserverless.py ......................... [ 45%] 773s .................................... [ 46%] 773s tests/test_emrserverless/test_server.py . [ 46%] 773s tests/test_es/test_domain_tags.py ..... [ 46%] 774s tests/test_es/test_es.py ................... [ 46%] 774s tests/test_es/test_server.py . [ 46%] 774s tests/test_events/test_event_pattern.py ............ [ 46%] 774s tests/test_events/test_events.py ....................................... [ 47%] 775s ........................................................................ [ 47%] 775s ... [ 47%] 775s tests/test_events/test_events_cloudformation.py ...... [ 47%] 775s tests/test_events/test_events_http_integration.py . [ 47%] 777s tests/test_events/test_events_integration.py ...... [ 47%] 792s tests/test_events/test_events_lambdatriggers_integration.py .... [ 48%] 792s tests/test_events/test_events_partners_integration.py ... [ 48%] 792s tests/test_firehose/test_firehose.py ....... [ 48%] 792s tests/test_firehose/test_firehose_destination_types.py ..... [ 48%] 792s tests/test_firehose/test_firehose_encryption.py .... [ 48%] 792s tests/test_firehose/test_firehose_put.py ..... [ 48%] 792s tests/test_firehose/test_firehose_tags.py ... [ 48%] 792s tests/test_firehose/test_http_destinations.py .. [ 48%] 792s tests/test_forecast/test_forecast.py ..................... [ 48%] 794s tests/test_fsx/test_fsx.py ...... [ 48%] 794s tests/test_glacier/test_glacier_archives.py ... [ 48%] 799s tests/test_glacier/test_glacier_jobs.py .... [ 48%] 800s tests/test_glacier/test_glacier_vaults.py .... [ 48%] 800s tests/test_glacier/test_server.py . [ 48%] 800s tests/test_glue/test_datacatalog.py .................................... [ 49%] 800s ................. [ 49%] 801s tests/test_glue/test_glue.py ........................................... [ 49%] 801s ............... [ 49%] 801s tests/test_glue/test_glue_job_runs.py ...... [ 49%] 802s tests/test_glue/test_partition_filter.py ....... [ 49%] 802s tests/test_glue/test_schema_registry.py ................................ [ 50%] 803s ..................................... [ 50%] 803s tests/test_greengrass/test_greengrass_core.py ............. [ 50%] 803s tests/test_greengrass/test_greengrass_deployment.py ............... [ 50%] 803s tests/test_greengrass/test_greengrass_device.py ............... [ 51%] 804s tests/test_greengrass/test_greengrass_functions.py ................ [ 51%] 804s tests/test_greengrass/test_greengrass_groups.py ........................ [ 51%] 804s ....... [ 51%] 804s tests/test_greengrass/test_greengrass_resource.py .................... [ 51%] 804s tests/test_greengrass/test_greengrass_subscriptions.py ................. [ 51%] 804s ...... [ 52%] 805s tests/test_guardduty/test_guardduty.py ........... [ 52%] 805s tests/test_guardduty/test_guardduty_filters.py ..... [ 52%] 805s tests/test_guardduty/test_guardduty_organization.py .. [ 52%] 805s tests/test_guardduty/test_server.py . [ 52%] 806s tests/test_iam/test_iam.py ............................................. [ 52%] 809s ........................................................................ [ 53%] 810s ...................................... [ 53%] 810s tests/test_iam/test_iam_access_integration.py ... [ 53%] 810s tests/test_iam/test_iam_account_aliases.py . [ 53%] 811s tests/test_iam/test_iam_cloudformation.py .............................. [ 54%] 811s  [ 54%] 812s tests/test_iam/test_iam_groups.py ....................... [ 54%] 812s tests/test_iam/test_iam_oidc.py .................. [ 54%] 812s tests/test_iam/test_iam_password_last_used.py . [ 54%] 812s tests/test_iam/test_iam_policies.py .................................... [ 54%] 813s ........................................................................ [ 55%] 813s ..................... [ 55%] 814s tests/test_iam/test_iam_resets.py .. [ 55%] 814s tests/test_iam/test_iam_server_certificates.py ..... [ 55%] 815s tests/test_iam/test_iam_signing_certificates.py ...... [ 56%] 815s tests/test_iam/test_server.py . [ 56%] 815s tests/test_identitystore/test_identitystore.py ......................... [ 56%] 815s .. [ 56%] 815s tests/test_inspector2/test_inspector2.py .. [ 56%] 815s tests/test_inspector2/test_inspector2_admin_accounts.py . [ 56%] 815s tests/test_inspector2/test_inspector2_enable.py . [ 56%] 815s tests/test_inspector2/test_inspector2_findings.py . [ 56%] 815s tests/test_inspector2/test_inspector2_members.py . [ 56%] 815s tests/test_inspector2/test_inspector2_organization.py . [ 56%] 816s tests/test_inspector2/test_inspector2_tags.py .. [ 56%] 816s tests/test_iot/test_iot.py .... [ 56%] 816s tests/test_iot/test_iot_ca_certificates.py .......... [ 56%] 817s tests/test_iot/test_iot_certificates.py .............. [ 56%] 817s tests/test_iot/test_iot_cloudformation.py ................. [ 56%] 817s tests/test_iot/test_iot_deprecate_thing_type.py .... [ 56%] 817s tests/test_iot/test_iot_domain_configuration.py ............ [ 57%] 817s tests/test_iot/test_iot_indexing_configuration.py .. [ 57%] 817s tests/test_iot/test_iot_integration.py . [ 57%] 818s tests/test_iot/test_iot_job_executions.py ...... [ 57%] 818s tests/test_iot/test_iot_job_templates.py ......... [ 57%] 818s tests/test_iot/test_iot_jobs.py ........ [ 57%] 818s tests/test_iot/test_iot_policies.py ................. [ 57%] 818s tests/test_iot/test_iot_rolealias.py ....... [ 57%] 818s tests/test_iot/test_iot_search.py ............. [ 57%] 819s tests/test_iot/test_iot_thing_groups.py ................. [ 57%] 819s tests/test_iot/test_iot_thing_types.py ..... [ 57%] 819s tests/test_iot/test_iot_things.py ....... [ 57%] 819s tests/test_iot/test_iot_topic_rules.py .......... [ 58%] 819s tests/test_iot/test_server.py ... [ 58%] 820s tests/test_iotdata/test_iotdata.py ................... [ 58%] 820s tests/test_iotdata/test_server.py ... [ 58%] 820s tests/test_ivs/test_ivs.py ................. [ 58%] 820s tests/test_kafka/test_kafka.py ..... [ 58%] 824s tests/test_kinesis/test_kinesis.py .................................. [ 58%] 824s tests/test_kinesis/test_kinesis_boto3.py ................ [ 59%] 824s tests/test_kinesis/test_kinesis_cloudformation.py .... [ 59%] 824s tests/test_kinesis/test_kinesis_encryption.py ... [ 59%] 824s tests/test_kinesis/test_kinesis_monitoring.py ..... [ 59%] 824s tests/test_kinesis/test_kinesis_resource_policy.py ..... [ 59%] 824s tests/test_kinesis/test_kinesis_stream_consumers.py ....... [ 59%] 824s tests/test_kinesis/test_kinesis_stream_limits.py ....... [ 59%] 824s tests/test_kinesis/test_server.py . [ 59%] 824s tests/test_kinesisvideo/test_kinesisvideo.py ........ [ 59%] 824s tests/test_kinesisvideo/test_server.py . [ 59%] 824s tests/test_kinesisvideoarchivedmedia/test_kinesisvideoarchivedmedia.py . [ 59%] 825s .. [ 59%] 825s tests/test_kinesisvideoarchivedmedia/test_server.py . [ 59%] 826s tests/test_kms/test_kms_boto3.py ....................................... [ 59%] 828s ........................................................................ [ 60%] 833s .......................................... [ 61%] 834s tests/test_kms/test_kms_encrypt.py ................... [ 61%] 834s tests/test_kms/test_kms_grants.py ....... [ 61%] 834s tests/test_kms/test_kms_key_rotation.py ....... [ 61%] 835s tests/test_kms/test_kms_mac.py ...... [ 61%] 835s tests/test_kms/test_kms_policy_enforcement.py ........................ [ 61%] 835s tests/test_kms/test_model.py .... [ 61%] 835s tests/test_kms/test_server.py . [ 61%] 835s tests/test_kms/test_utils.py ..................... [ 61%] 835s tests/test_lakeformation/test_lakeformation.py ................... [ 62%] 835s tests/test_lakeformation/test_permission.py .. [ 62%] 835s tests/test_lakeformation/test_resource_tags_integration.py ..... [ 62%] 835s tests/test_lexv2models/test_lexv2models.py ....... [ 62%] 836s tests/test_logs/test_export_tasks.py ......... [ 62%] 836s tests/test_logs/test_integration.py ..... [ 62%] 836s tests/test_logs/test_logs.py ........................................... [ 62%] 836s .................. [ 63%] 836s tests/test_logs/test_logs_cloudformation.py . [ 63%] 836s tests/test_logs/test_logs_filter_log_events.py ........ [ 63%] 837s tests/test_logs/test_logs_metric_filters.py ............ [ 63%] 837s tests/test_logs/test_logs_query/test_boto3.py .... [ 63%] 837s tests/test_logs/test_logs_query/test_query.py .. [ 63%] 837s tests/test_logs/test_logs_query/test_query_parser.py ........... [ 63%] 837s tests/test_logs/test_logs_tags.py .. [ 63%] 837s tests/test_logs/test_models.py . [ 63%] 837s tests/test_managedblockchain/test_managedblockchain_invitations.py ... [ 63%] 837s tests/test_managedblockchain/test_managedblockchain_members.py ......... [ 63%] 837s ...... [ 63%] 837s tests/test_managedblockchain/test_managedblockchain_networks.py ...... [ 63%] 837s tests/test_managedblockchain/test_managedblockchain_nodes.py ........... [ 63%] 838s ...... [ 63%] 838s tests/test_managedblockchain/test_managedblockchain_proposals.py ....... [ 63%] 838s .. [ 63%] 838s tests/test_managedblockchain/test_managedblockchain_proposalvotes.py ... [ 64%] 838s .......... [ 64%] 840s tests/test_mediaconnect/test_mediaconnect.py ...FFFFFFFFFFFFFFFFFFFFFFFF [ 64%] 840s F [ 64%] 840s tests/test_mediaconnect/test_server.py . [ 64%] 841s tests/test_medialive/test_medialive.py ............ [ 64%] 841s tests/test_medialive/test_server.py .. [ 64%] 841s tests/test_mediapackage/test_mediapackage.py .............. [ 64%] 841s tests/test_mediapackage/test_server.py .. [ 64%] 841s tests/test_mediastore/test_mediastore.py ..................... [ 64%] 841s tests/test_mediastore/test_server.py . [ 64%] 842s tests/test_mediastoredata/test_mediastoredata.py ...... [ 65%] 842s tests/test_mediastoredata/test_server.py . [ 65%] 842s tests/test_memorydb/test_memorydb.py ................................... [ 65%] 842s .............. [ 65%] 842s tests/test_meteringmarketplace/test_meteringmarketplace.py . [ 65%] 842s tests/test_moto_api/mock_random/test_mock_random.py ... [ 65%] 843s tests/test_moto_api/recorder/test_recorder.py ........ [ 65%] 843s tests/test_moto_api/seeder/test_seeder.py ... [ 65%] 843s tests/test_moto_api/state_manager/servermode/test_inmemory_server.py ... [ 65%] 843s  [ 65%] 843s tests/test_moto_api/state_manager/servermode/test_state_manager.py sss [ 65%] 843s tests/test_moto_api/state_manager/test_batch_integration.py . [ 65%] 845s tests/test_moto_api/state_manager/test_managed_state_model.py ....... [ 65%] 845s tests/test_moto_api/state_manager/test_state_manager.py ....... [ 65%] 846s tests/test_mq/test_mq.py ................ [ 66%] 846s tests/test_mq/test_mq_configuration.py ......... [ 66%] 846s tests/test_mq/test_mq_tags.py ..... [ 66%] 846s tests/test_mq/test_mq_users.py ....... [ 66%] 846s tests/test_mq/test_server.py . [ 66%] 847s tests/test_neptune/test_cluster_options.py . [ 66%] 847s tests/test_neptune/test_cluster_tags.py . [ 66%] 847s tests/test_neptune/test_clusters.py ....... [ 66%] 847s tests/test_neptune/test_global_clusters.py .... [ 66%] 847s tests/test_networkmanager/test_networkmanager.py ..................... [ 66%] 847s tests/test_networkmanager/test_server.py ... [ 66%] 847s tests/test_opensearch/test_domain_tags.py .. [ 66%] 847s tests/test_opensearch/test_opensearch.py .............. [ 66%] 847s tests/test_opensearchserverless/test_opensearchserverless.py ........... [ 66%] 847s ............ [ 67%] 847s tests/test_opsworks/test_apps.py FF [ 67%] 847s tests/test_opsworks/test_instances.py FFF [ 67%] 847s tests/test_opsworks/test_layers.py FF [ 67%] 848s tests/test_opsworks/test_stack.py FF [ 67%] 848s tests/test_organizations/test_organizations_boto3.py ................... [ 67%] 848s ........................................................................ [ 68%] 849s ................. [ 68%] 849s tests/test_osis/test_osis.py ................ [ 68%] 849s tests/test_osis/test_server.py . [ 68%] 849s tests/test_panorama/test_application_instance.py ...... [ 68%] 849s tests/test_panorama/test_nodes.py ... [ 68%] 849s tests/test_panorama/test_panorama_device.py ............... [ 68%] 849s tests/test_panorama/test_server.py . [ 68%] 850s tests/test_personalize/test_personalize_schema.py ........ [ 68%] 850s tests/test_pinpoint/test_pinpoint.py ....... [ 68%] 850s tests/test_pinpoint/test_pinpoint_application_tags.py .... [ 68%] 850s tests/test_pinpoint/test_pinpoint_event_stream.py ... [ 68%] 850s tests/test_polly/test_polly.py .............. [ 69%] 850s tests/test_polly/test_server.py . [ 69%] 850s tests/test_qldb/test_qldb.py EE [ 69%] 850s tests/test_quicksight/test_quicksight_datasets.py .. [ 69%] 851s tests/test_quicksight/test_quicksight_groups.py ............... [ 69%] 851s tests/test_quicksight/test_quicksight_users.py ....................... [ 69%] 852s tests/test_ram/test_ram.py ............ [ 69%] 852s tests/test_rds/test_db_cluster_param_group.py . [ 69%] 852s tests/test_rds/test_db_cluster_params.py . [ 69%] 852s tests/test_rds/test_filters.py .............................. [ 69%] 852s tests/test_rds/test_global_clusters.py ........ [ 69%] 854s tests/test_rds/test_rds.py ............................................. [ 70%] 856s ........................................................................ [ 71%] 857s ........................................................................ [ 71%] 857s .......... [ 72%] 857s tests/test_rds/test_rds_cloudformation.py ....... [ 72%] 859s tests/test_rds/test_rds_clusters.py .................................... [ 72%] 859s ........................................ [ 72%] 859s tests/test_rds/test_rds_clusters_with_instances.py ..... [ 72%] 859s tests/test_rds/test_rds_event_subscriptions.py ...... [ 72%] 859s tests/test_rds/test_rds_export_tasks.py ........ [ 73%] 860s tests/test_rds/test_rds_proxy.py FFFFF. [ 73%] 861s tests/test_rds/test_rds_proxy_target_groups.py ... [ 73%] 861s tests/test_rds/test_server.py .. [ 73%] 861s tests/test_rds/test_utils.py ................ [ 73%] 861s tests/test_rdsdata/test_rdsdata.py .. [ 73%] 861s tests/test_redshift/test_redshift.py ................................... [ 73%] 861s ............................... [ 74%] 861s tests/test_redshift/test_redshift_cloudformation.py . [ 74%] 862s tests/test_redshift/test_server.py .............. [ 74%] 862s tests/test_redshiftdata/test_redshiftdata.py ......... [ 74%] 862s tests/test_redshiftdata/test_server.py ........ [ 74%] 862s tests/test_rekognition/test_rekognition.py ........ [ 74%] 862s tests/test_resiliencehub/test_resiliencehub.py ........... [ 74%] 862s tests/test_resiliencehub/test_resiliencyhub_resources.py ..... [ 74%] 862s tests/test_resiliencehub/test_resiliencyhub_tagging.py .. [ 74%] 862s tests/test_resourcegroups/test_resourcegroups.py ............ [ 74%] 862s tests/test_resourcegroupstaggingapi/test_resourcegroupstagging_dynamodb.py . [ 74%] 862s . [ 74%] 862s tests/test_resourcegroupstaggingapi/test_resourcegroupstagging_glue.py . [ 74%] 862s  [ 74%] 862s tests/test_resourcegroupstaggingapi/test_resourcegroupstagging_logs.py . [ 74%] 862s . [ 74%] 862s tests/test_resourcegroupstaggingapi/test_resourcegroupstagging_rds.py .. [ 74%] 862s  [ 74%] 862s tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py ... [ 74%] 864s .............FFF............ [ 75%] 864s tests/test_resourcegroupstaggingapi/test_server.py . [ 75%] 864s tests/test_robomaker/test_robomaker.py F [ 75%] 864s tests/test_route53/test_change_set_model.py ... [ 75%] 865s tests/test_route53/test_route53.py ..................................... [ 75%] 866s .............. [ 75%] 866s tests/test_route53/test_route53_cloudformation.py ...... [ 75%] 866s tests/test_route53/test_route53_delegationsets.py ........ [ 75%] 866s tests/test_route53/test_route53_healthchecks.py .......... [ 75%] 866s tests/test_route53/test_route53_query_logging_config.py ...... [ 75%] 866s tests/test_route53/test_route53_vpcs.py ....... [ 76%] 866s tests/test_route53/test_server.py . [ 76%] 866s tests/test_route53domains/test_route53domains_domain.py ................ [ 76%] 866s ................ [ 76%] 868s tests/test_route53resolver/test_route53resolver_endpoint.py ............ [ 76%] 868s .......... [ 76%] 869s tests/test_route53resolver/test_route53resolver_rule.py ........... [ 76%] 869s tests/test_route53resolver/test_route53resolver_rule_associations.py ... [ 76%] 869s ........ [ 76%] 869s tests/test_route53resolver/test_route53resolver_tags.py .... [ 76%] 870s tests/test_s3/test_s3.py ............................................... [ 77%] 872s ........................................................................ [ 78%] 873s ....................................... [ 78%] 873s tests/test_s3/test_s3_acl.py .......................... [ 78%] 874s tests/test_s3/test_s3_auth.py .... [ 78%] 875s tests/test_s3/test_s3_bucket_policy.py ........... [ 78%] 875s tests/test_s3/test_s3_classdecorator.py . [ 78%] 875s tests/test_s3/test_s3_cloudformation.py ..... [ 78%] 875s tests/test_s3/test_s3_config.py ...... [ 79%] 876s tests/test_s3/test_s3_copyobject.py .................................... [ 79%] 876s  [ 79%] 877s tests/test_s3/test_s3_cross_account.py . [ 79%] 877s tests/test_s3/test_s3_custom_endpoint.py .......... [ 79%] 877s tests/test_s3/test_s3_encryption.py ...... [ 79%] 877s tests/test_s3/test_s3_eventbridge_integration.py .......... [ 79%] 896s tests/test_s3/test_s3_file_handles.py ........................ [ 79%] 896s tests/test_s3/test_s3_lambda_integration.py ...... [ 79%] 896s tests/test_s3/test_s3_lifecycle.py .......... [ 80%] 897s tests/test_s3/test_s3_list_object_versions.py ............ [ 80%] 897s tests/test_s3/test_s3_list_objects.py .. [ 80%] 898s tests/test_s3/test_s3_locales.py . [ 80%] 909s tests/test_s3/test_s3_lock.py ..F........... [ 80%] 909s tests/test_s3/test_s3_logging.py ........... [ 80%] 909s tests/test_s3/test_s3_metadata.py . [ 80%] 910s tests/test_s3/test_s3_multipart.py ..................................... [ 80%] 910s  [ 80%] 910s tests/test_s3/test_s3_notifications.py ............ [ 81%] 910s tests/test_s3/test_s3_object_attributes.py ........ [ 81%] 910s tests/test_s3/test_s3_ownership.py ... [ 81%] 910s tests/test_s3/test_s3_replication.py ....... [ 81%] 910s tests/test_s3/test_s3_storageclass.py ............ [ 81%] 911s tests/test_s3/test_s3_tagging.py ............ [ 81%] 911s tests/test_s3/test_s3_utils.py ........... [ 81%] 911s tests/test_s3/test_server.py ............. [ 81%] 911s tests/test_s3bucket_path/test_s3bucket_path_utils.py ... [ 81%] 911s tests/test_s3bucket_path/test_server.py ..... [ 81%] 911s tests/test_s3control/test_s3control.py . [ 81%] 911s tests/test_s3control/test_s3control_access_points.py .... [ 81%] 911s tests/test_s3control/test_s3control_accesspoint_policy.py ..... [ 81%] 914s tests/test_s3control/test_s3control_config_integration.py .. [ 81%] 914s tests/test_s3control/test_s3control_s3.py ... [ 81%] 914s tests/test_s3tables/test_s3tables.py ............F...F..F.FFFF.. [ 82%] 914s tests/test_s3tables/test_server.py .......F. [ 82%] 914s tests/test_sagemaker/test_sagemaker_automljobs.py ....... [ 82%] 915s tests/test_sagemaker/test_sagemaker_cloudformation.py .................. [ 82%] 915s .. [ 82%] 915s tests/test_sagemaker/test_sagemaker_cluster.py .......... [ 82%] 915s tests/test_sagemaker/test_sagemaker_compilation_jobs.py ........ [ 82%] 916s tests/test_sagemaker/test_sagemaker_data_quality_jobs_definitions.py ... [ 82%] 916s . [ 82%] 916s tests/test_sagemaker/test_sagemaker_domains.py ...... [ 82%] 916s tests/test_sagemaker/test_sagemaker_endpoint.py ................... [ 83%] 916s tests/test_sagemaker/test_sagemaker_experiment.py ..... [ 83%] 916s tests/test_sagemaker/test_sagemaker_feature_groups.py .. [ 83%] 916s tests/test_sagemaker/test_sagemaker_hyper_parameter_tuning_job.py ...... [ 83%] 917s . [ 83%] 917s tests/test_sagemaker/test_sagemaker_model_bias_job_definitions.py .... [ 83%] 919s tests/test_sagemaker/test_sagemaker_model_cards.py ......... [ 83%] 919s tests/test_sagemaker/test_sagemaker_model_expainability.py ....... [ 83%] 919s tests/test_sagemaker/test_sagemaker_model_package_groups.py ............ [ 83%] 919s  [ 83%] 919s tests/test_sagemaker/test_sagemaker_model_packages.py .................. [ 83%] 919s ....... [ 83%] 919s tests/test_sagemaker/test_sagemaker_model_quality.py ....... [ 83%] 919s tests/test_sagemaker/test_sagemaker_models.py .......... [ 83%] 919s tests/test_sagemaker/test_sagemaker_notebooks.py ......... [ 84%] 923s tests/test_sagemaker/test_sagemaker_pipeline.py ........................ [ 84%] 923s .................. [ 84%] 923s tests/test_sagemaker/test_sagemaker_processing.py .......... [ 84%] 923s tests/test_sagemaker/test_sagemaker_search.py ..... [ 84%] 924s tests/test_sagemaker/test_sagemaker_training.py ............ [ 84%] 925s tests/test_sagemaker/test_sagemaker_transform.py ............ [ 84%] 925s tests/test_sagemaker/test_sagemaker_trial.py ....... [ 84%] 925s tests/test_sagemaker/test_sagemaker_trial_component.py ........... [ 85%] 925s tests/test_sagemakermetrics/test_sagemakermetrics.py .. [ 85%] 925s tests/test_sagemakermetrics/test_server.py . [ 85%] 925s tests/test_sagemakerruntime/test_sagemakerruntime.py .... [ 85%] 925s tests/test_scheduler/test_schedule_groups.py ... [ 85%] 925s tests/test_scheduler/test_scheduler.py .................. [ 85%] 925s tests/test_scheduler/test_scheduler_tags.py .. [ 85%] 925s tests/test_scheduler/test_server.py . [ 85%] 925s tests/test_sdb/test_sdb_attributes.py ......... [ 85%] 925s tests/test_sdb/test_sdb_domains.py ................. [ 85%] 925s tests/test_sdb/test_server.py . [ 85%] 925s tests/test_secretsmanager/test_list_secrets.py ......................... [ 85%] 925s . [ 85%] 925s tests/test_secretsmanager/test_policy.py .... [ 85%] 925s tests/test_secretsmanager/test_rotate_simple_lambda.py .. [ 85%] 926s tests/test_secretsmanager/test_secrets_duplication.py .......... [ 86%] 926s tests/test_secretsmanager/test_secretsmanager.py ....................... [ 86%] 926s ......................................s............ss................... [ 87%] 927s .............. [ 87%] 927s tests/test_secretsmanager/test_server.py ............................. [ 87%] 927s tests/test_securityhub/test_securityhub.py ..... [ 87%] 927s tests/test_servicediscovery/test_server.py . [ 87%] 928s tests/test_servicediscovery/test_servicediscovery_httpnamespaces.py .... [ 87%] 928s .......... [ 87%] 928s tests/test_servicediscovery/test_servicediscovery_instance.py .......... [ 87%] 928s ... [ 87%] 928s tests/test_servicediscovery/test_servicediscovery_operations.py ....... [ 87%] 928s tests/test_servicediscovery/test_servicediscovery_service.py ....... [ 87%] 928s tests/test_servicediscovery/test_servicediscovery_tags.py ...... [ 87%] 928s tests/test_servicequotas/test_servicequotas.py .... [ 88%] 928s tests/test_ses/test_server.py .. [ 88%] 928s tests/test_ses/test_ses_boto3.py ....................................... [ 88%] 928s  [ 88%] 929s tests/test_ses/test_ses_sns_boto3.py ........ [ 88%] 929s tests/test_ses/test_ses_utils.py . [ 88%] 929s tests/test_ses/test_templating.py ......... [ 88%] 929s tests/test_sesv2/test_server.py . [ 88%] 929s tests/test_sesv2/test_sesv2.py .......................... [ 88%] 929s tests/test_shield/test_shield.py ...................... [ 89%] 929s tests/test_signer/test_signing_platforms.py . [ 89%] 929s tests/test_signer/test_signing_profiles.py .... [ 89%] 929s tests/test_sns/test_application_boto3.py ..................... [ 89%] 930s tests/test_sns/test_http_message_verification.py . [ 89%] 930s tests/test_sns/test_publish_batch.py ........ [ 89%] 932s tests/test_sns/test_publishing_boto3.py ................................ [ 89%] 936s ........................................................................ [ 90%] 936s ... [ 90%] 936s tests/test_sns/test_server.py . [ 90%] 936s tests/test_sns/test_sns_cloudformation.py ...... [ 90%] 943s tests/test_sns/test_subscriptions_boto3.py ................... [ 90%] 943s tests/test_sns/test_topics_boto3.py ......................... [ 91%] 943s tests/test_sns/test_utils.py ... [ 91%] 943s tests/test_special_cases/test_custom_amis.py . [ 91%] 951s tests/test_sqs/test_server.py ... [ 91%] 961s tests/test_sqs/test_sqs.py ............................................. [ 91%] 983s ........................................................................ [ 92%] 1000s ........................ [ 92%] 1000s tests/test_sqs/test_sqs_cloudformation.py ....... [ 92%] 1001s tests/test_sqs/test_sqs_integration.py F [ 92%] 1001s tests/test_sqs/test_sqs_multiaccount.py . [ 92%] 1001s tests/test_ssm/test_ssm_boto3.py ....................................... [ 93%] 1002s ................................................. [ 93%] 1002s tests/test_ssm/test_ssm_cloudformation.py . [ 93%] 1002s tests/test_ssm/test_ssm_default_amis.py .. [ 93%] 1003s tests/test_ssm/test_ssm_defaults.py ... [ 93%] 1003s tests/test_ssm/test_ssm_doc_permissions.py ...................... [ 93%] 1003s tests/test_ssm/test_ssm_docs.py ........ [ 93%] 1003s tests/test_ssm/test_ssm_ec2_integration.py . [ 93%] 1003s tests/test_ssm/test_ssm_ecs_images.py . [ 93%] 1004s tests/test_ssm/test_ssm_maintenance_windows.py ............ [ 94%] 1004s tests/test_ssm/test_ssm_parameterstore.py ......... [ 94%] 1004s tests/test_ssm/test_ssm_patch_baseline.py .. [ 94%] 1004s tests/test_ssm/test_ssm_secretsmanager.py ...... [ 94%] 1004s tests/test_ssm/test_ssm_utils.py ... [ 94%] 1004s tests/test_ssoadmin/test_server.py . [ 94%] 1005s tests/test_ssoadmin/test_ssoadmin.py .................. [ 94%] 1005s tests/test_ssoadmin/test_ssoadmin_instances.py .. [ 94%] 1005s tests/test_ssoadmin/test_ssoadmin_permission_sets.py .. [ 94%] 1005s tests/test_ssoadmin/test_ssoadmin_policies.py ........... [ 94%] 1006s tests/test_stepfunctions/test_stepfunctions.py ......................... [ 94%] 1006s ....................... [ 95%] 1006s tests/test_stepfunctions/test_stepfunctions_cloudformation.py ... [ 95%] 1006s tests/test_stepfunctions/test_stepfunctions_versions.py ... [ 95%] 1006s tests/test_sts/test_server.py .... [ 95%] 1006s tests/test_sts/test_sts.py ...................... [ 95%] 1006s tests/test_sts/test_sts_integration.py ... [ 95%] 1006s tests/test_support/test_server.py .... [ 95%] 1007s tests/test_support/test_support.py ..................................... [ 95%] 1007s .... [ 95%] 1007s tests/test_swf/models/test_activity_task.py ....... [ 96%] 1007s tests/test_swf/models/test_decision_task.py ..... [ 96%] 1007s tests/test_swf/models/test_domain.py ........ [ 96%] 1007s tests/test_swf/models/test_generic_type.py .... [ 96%] 1007s tests/test_swf/models/test_history_event.py ... [ 96%] 1007s tests/test_swf/models/test_timeout.py . [ 96%] 1007s tests/test_swf/models/test_timer.py .... [ 96%] 1007s tests/test_swf/models/test_workflow_execution.py ....................... [ 96%] 1007s ............ [ 96%] 1010s tests/test_swf/responses/test_activity_tasks.py ............. [ 96%] 1010s tests/test_swf/responses/test_activity_types.py ............. [ 96%] 1015s tests/test_swf/responses/test_decision_tasks.py ....................... [ 97%] 1015s tests/test_swf/responses/test_domains.py ............. [ 97%] 1015s tests/test_swf/responses/test_timeouts.py ... [ 97%] 1016s tests/test_swf/responses/test_workflow_executions.py .............. [ 97%] 1016s tests/test_swf/responses/test_workflow_types.py ............. [ 97%] 1016s tests/test_swf/test_exceptions.py ............ [ 97%] 1016s tests/test_swf/test_utils.py . [ 97%] 1016s tests/test_textract/test_server.py ..... [ 97%] 1016s tests/test_textract/test_textract.py .... [ 97%] 1016s tests/test_timestreaminfluxdb/test_timestreaminfluxdb.py ........... [ 97%] 1016s tests/test_timestreaminfluxdb/test_timestreaminfluxdb_tagging.py ... [ 97%] 1016s tests/test_timestreamquery/test_timestreamquery.py ..... [ 97%] 1016s tests/test_timestreamwrite/test_server.py . [ 98%] 1017s tests/test_timestreamwrite/test_timestreamwrite_database.py ....... [ 98%] 1017s tests/test_timestreamwrite/test_timestreamwrite_table.py .......... [ 98%] 1017s tests/test_timestreamwrite/test_timestreamwrite_tagging.py ..... [ 98%] 1017s tests/test_transcribe/test_transcribe_boto3.py ....................... [ 98%] 1017s tests/test_transfer/test_transfer.py ... [ 98%] 1017s tests/test_utilities/test_docker_utilities.py ....... [ 98%] 1017s tests/test_utilities/test_id_generator.py .......... [ 98%] 1017s tests/test_utilities/test_paginator.py .................... [ 98%] 1017s tests/test_utilities/test_tagging_service.py ........... [ 98%] 1020s tests/test_utilities/test_threaded_server.py ..... [ 99%] 1020s tests/test_utilities/test_utils.py .. [ 99%] 1020s tests/test_wafv2/test_server.py .. [ 99%] 1020s tests/test_wafv2/test_utils.py . [ 99%] 1020s tests/test_wafv2/test_wafv2.py .......... [ 99%] 1020s tests/test_wafv2/test_wafv2_integration.py .... [ 99%] 1020s tests/test_wafv2/test_wafv2_logging_configuration.py .. [ 99%] 1020s tests/test_wafv2/test_wafv2_rules.py ..... [ 99%] 1020s tests/test_wafv2/test_wafv2_tags.py .... [ 99%] 1022s tests/test_workspaces/test_workspaces.py F..FFFFFFFFFFF.FFFFFFF.FFFF.FF [ 99%] 1023s tests/test_workspacesweb/test_workspacesweb.py ......................... [ 99%] 1023s  [ 99%] 1023s tests/test_xray/test_xray_boto3.py ...... [ 99%] 1023s tests/test_xray/test_xray_client.py .... [100%] 1023s 1023s ==================================== ERRORS ==================================== 1023s _______ ERROR at setup of test_create_describe_update_and_delete_ledger ________ 1023s 1023s @pytest.fixture(name="client") 1023s def fixture_qldb_client(): 1023s with mock_aws(): 1023s > yield boto3.client("qldb", region_name="us-east-1") 1023s 1023s tests/test_qldb/test_qldb.py:18: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = , service_name = 'qldb' 1023s type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'qldb'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s ________ ERROR at setup of test_tag_resource_and_list_tags_for_resource ________ 1023s 1023s @pytest.fixture(name="client") 1023s def fixture_qldb_client(): 1023s with mock_aws(): 1023s > yield boto3.client("qldb", region_name="us-east-1") 1023s 1023s tests/test_qldb/test_qldb.py:18: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = , service_name = 'qldb' 1023s type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'qldb'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s =================================== FAILURES =================================== 1023s __________ test_event_source_mapping_create_from_cloudformation_json ___________ 1023s 1023s @mock_aws 1023s def test_event_source_mapping_create_from_cloudformation_json(): 1023s sqs = boto3.resource("sqs", region_name="us-east-1") 1023s s3 = boto3.client("s3", "us-east-1") 1023s cf = boto3.client("cloudformation", region_name="us-east-1") 1023s lmbda = boto3.client("lambda", region_name="us-east-1") 1023s  1023s queue = sqs.create_queue(QueueName=str(uuid4())[0:6]) 1023s  1023s # Creates lambda 1023s _, lambda_stack = create_stack(cf, s3) 1023s created_fn_name = get_created_function_name(cf, lambda_stack) 1023s created_fn_arn = lmbda.get_function(FunctionName=created_fn_name)["Configuration"][ 1023s "FunctionArn" 1023s ] 1023s  1023s esm_template = event_source_mapping_template.substitute( 1023s { 1023s "resource_name": "Foo", 1023s "batch_size": 1, 1023s "event_source_arn": queue.attributes["QueueArn"], 1023s "function_name": created_fn_name, 1023s "enabled": True, 1023s } 1023s ) 1023s  1023s cf.create_stack(StackName=random_stack_name(), TemplateBody=esm_template) 1023s > event_sources = lmbda.list_event_source_mappings(FunctionName=created_fn_name) 1023s 1023s tests/test_awslambda/test_awslambda_cloudformation.py:184: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'ListEventSourceMappings' 1023s api_params = {'FunctionName': 'd499b6-LF3ABOV-TP7FQUOBDJ1E'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the ListEventSourceMappings operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s ____________________ test_event_source_mapping_delete_stack ____________________ 1023s 1023s @mock_aws 1023s def test_event_source_mapping_delete_stack(): 1023s sqs = boto3.resource("sqs", region_name="us-east-1") 1023s s3 = boto3.client("s3", "us-east-1") 1023s cf = boto3.client("cloudformation", region_name="us-east-1") 1023s lmbda = boto3.client("lambda", region_name="us-east-1") 1023s  1023s queue = sqs.create_queue(QueueName=str(uuid4())[0:6]) 1023s  1023s # Creates lambda 1023s _, lambda_stack = create_stack(cf, s3) 1023s created_fn_name = get_created_function_name(cf, lambda_stack) 1023s  1023s esm_template = event_source_mapping_template.substitute( 1023s { 1023s "resource_name": "Foo", 1023s "batch_size": 1, 1023s "event_source_arn": queue.attributes["QueueArn"], 1023s "function_name": created_fn_name, 1023s "enabled": True, 1023s } 1023s ) 1023s  1023s esm_stack = cf.create_stack( 1023s StackName=random_stack_name(), TemplateBody=esm_template 1023s ) 1023s > event_sources = lmbda.list_event_source_mappings(FunctionName=created_fn_name) 1023s 1023s tests/test_awslambda/test_awslambda_cloudformation.py:218: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'ListEventSourceMappings' 1023s api_params = {'FunctionName': '97f183-LF3ABOV-OOGHZGUYNOJD'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the ListEventSourceMappings operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s __________ test_event_source_mapping_update_from_cloudformation_json ___________ 1023s 1023s @mock_aws 1023s def test_event_source_mapping_update_from_cloudformation_json(): 1023s sqs = boto3.resource("sqs", region_name="us-east-1") 1023s s3 = boto3.client("s3", "us-east-1") 1023s cf = boto3.client("cloudformation", region_name="us-east-1") 1023s lmbda = boto3.client("lambda", region_name="us-east-1") 1023s  1023s queue = sqs.create_queue(QueueName=str(uuid4())[0:6]) 1023s  1023s # Creates lambda 1023s _, lambda_stack = create_stack(cf, s3) 1023s created_fn_name = get_created_function_name(cf, lambda_stack) 1023s  1023s original_template = event_source_mapping_template.substitute( 1023s { 1023s "resource_name": "Foo", 1023s "batch_size": 1, 1023s "event_source_arn": queue.attributes["QueueArn"], 1023s "function_name": created_fn_name, 1023s "enabled": True, 1023s } 1023s ) 1023s  1023s stack_name = random_stack_name() 1023s cf.create_stack(StackName=stack_name, TemplateBody=original_template) 1023s > event_sources = lmbda.list_event_source_mappings(FunctionName=created_fn_name) 1023s 1023s tests/test_awslambda/test_awslambda_cloudformation.py:253: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'ListEventSourceMappings' 1023s api_params = {'FunctionName': 'd91546-LF3ABOV-2X7W8IV15RI7'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the ListEventSourceMappings operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s __________ test_event_source_mapping_delete_from_cloudformation_json ___________ 1023s 1023s @mock_aws 1023s def test_event_source_mapping_delete_from_cloudformation_json(): 1023s sqs = boto3.resource("sqs", region_name="us-east-1") 1023s s3 = boto3.client("s3", "us-east-1") 1023s cf = boto3.client("cloudformation", region_name="us-east-1") 1023s lmbda = boto3.client("lambda", region_name="us-east-1") 1023s  1023s queue = sqs.create_queue(QueueName=str(uuid4())[0:6]) 1023s  1023s # Creates lambda 1023s _, lambda_stack = create_stack(cf, s3) 1023s created_fn_name = get_created_function_name(cf, lambda_stack) 1023s  1023s original_template = event_source_mapping_template.substitute( 1023s { 1023s "resource_name": "Foo", 1023s "batch_size": 1, 1023s "event_source_arn": queue.attributes["QueueArn"], 1023s "function_name[39;49;00m": created_fn_name, 1023s "enabled": True, 1023s } 1023s ) 1023s  1023s stack_name = random_stack_name() 1023s cf.create_stack(StackName=stack_name, TemplateBody=original_template) 1023s > event_sources = lmbda.list_event_source_mappings(FunctionName=created_fn_name) 1023s 1023s tests/test_awslambda/test_awslambda_cloudformation.py:303: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'ListEventSourceMappings' 1023s api_params = {'FunctionName': 'd15e4a-LF3ABOV-DJVOF6QEAVFP'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the ListEventSourceMappings operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s _______________________ test_create_event_source_mapping _______________________ 1023s 1023s @mock_aws 1023s def test_create_event_source_mapping(): 1023s function_name = str(uuid.uuid4())[0:6] 1023s sqs = boto3.resource("sqs", region_name="us-east-1") 1023s queue = sqs.create_queue(QueueName=f"{function_name}_queue") 1023s  1023s conn = boto3.client("lambda", region_name="us-east-1") 1023s func = conn.create_function( 1023s FunctionName=function_name, 1023s Runtime=PYTHON_VERSION, 1023s Role=get_role_name(), 1023s Handler="lambda_function.lambda_handler", 1023s Code={"ZipFile": get_test_zip_file3()}, 1023s Description="test lambda function", 1023s Timeout=3, 1023s MemorySize=128, 1023s Publish=True, 1023s ) 1023s  1023s destination_config = { 1023s "OnSuccess": {"Destination": "s3"}, 1023s "OnFailure": {"Destination": "s4"}, 1023s } 1023s doc_db_config = { 1023s "DatabaseName": "db", 1023s "CollectionName": "cn", 1023s "FullDocument": "UpdateLookup", 1023s } 1023s > response = conn.create_event_source_mapping( 1023s EventSourceArn=queue.attributes["QueueArn"], 1023s FunctionName=func["FunctionArn"], 1023s BatchSize=1, 1023s FilterCriteria={ 1023s "Filters": [{"Pattern": r"asdf"}], 1023s }, 1023s MaximumBatchingWindowInSeconds=5, 1023s ParallelizationFactor=4, 1023s StartingPosition="AT_TIMESTAMP", 1023s DestinationConfig=destination_config, 1023s MaximumRecordAgeInSeconds=59, 1023s BisectBatchOnFunctionError=True, 1023s MaximumRetryAttempts=9000, 1023s Tags={"k1": "v1"}, 1023s TumblingWindowInSeconds=100, 1023s Topics=["t1", "T2"], 1023s Queues=["q1", "q2"], 1023s SourceAccessConfigurations=[ 1023s {"Type": "BASIC_AUTH", "URI": "http://auth.endpoint"}, 1023s ], 1023s SelfManagedEventSource={ 1023s "Endpoints": { 1023s "key": ["v1"], 1023s }, 1023s }, 1023s FunctionResponseTypes=["ReportBatchItemFailures"], 1023s AmazonManagedKafkaEventSourceConfig={"ConsumerGroupId": "cgid"}, 1023s SelfManagedKafkaEventSourceConfig={"ConsumerGroupId": "cgid2"}, 1023s ScalingConfig={"MaximumConcurrency": 100}, 1023s DocumentDBEventSourceConfig=doc_db_config, 1023s KMSKeyArn="arn:kms:key", 1023s MetricsConfig={"Metrics": ["EventCount"]}, 1023s ProvisionedPollerConfig={"MinimumPollers": 12, "MaximumPollers": 13}, 1023s ) 1023s 1023s tests/test_awslambda/test_lambda_eventsourcemapping.py:51: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'CreateEventSourceMapping' 1023s api_params = {'AmazonManagedKafkaEventSourceConfig': {'ConsumerGroupId': 'cgid'}, 'BatchSize': 1, 'BisectBatchOnFunctionError': True, 'DestinationConfig': {'OnFailure': {'Destination': 's4'}, 'OnSuccess': {'Destination': 's3'}}, ...} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s _______________________ test_list_event_source_mappings ________________________ 1023s 1023s @mock_aws 1023s def test_list_event_source_mappings(): 1023s function_name = str(uuid.uuid4())[0:6] 1023s sqs = boto3.resource("sqs", region_name="us-east-1") 1023s queue = sqs.create_queue(QueueName=f"{function_name}_queue") 1023s  1023s conn = boto3.client("lambda", region_name="us-east-1") 1023s func = conn.create_function( 1023s FunctionName=function_name, 1023s Runtime=PYTHON_VERSION, 1023s Role=get_role_name(), 1023s Handler="lambda_function.lambda_handler", 1023s Code={"ZipFile": get_test_zip_file3()}, 1023s Description="test lambda function", 1023s Timeout=3, 1023s MemorySize=128, 1023s Publish=True, 1023s ) 1023s > response = conn.create_event_source_mapping( 1023s EventSourceArn=queue.attributes["QueueArn"], FunctionName=func["FunctionArn"] 1023s ) 1023s 1023s tests/test_awslambda/test_lambda_eventsourcemapping.py:473: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'CreateEventSourceMapping' 1023s api_params = {'EventSourceArn': 'arn:aws:sqs:us-east-1:123456789012:8e852e_queue', 'FunctionName': 'arn:aws:lambda:us-east-1:123456789012:function:8e852e'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s ________________________ test_get_event_source_mapping _________________________ 1023s 1023s @mock_aws 1023s def test_get_event_source_mapping(): 1023s function_name = str(uuid.uuid4())[0:6] 1023s sqs = boto3.resource("sqs", region_name="us-east-1") 1023s queue = sqs.create_queue(QueueName=f"{function_name}_queue") 1023s  1023s conn = boto3.client("lambda", region_name="us-east-1") 1023s func = conn.create_function( 1023s FunctionName=function_name, 1023s Runtime=PYTHON_VERSION, 1023s Role=get_role_name(), 1023s Handler="lambda_function.lambda_handler", 1023s Code={"ZipFile": get_test_zip_file3()}, 1023s Description="test lambda function", 1023s Timeout=3, 1023s MemorySize=128, 1023s Publish=True, 1023s ) 1023s > response = conn.create_event_source_mapping( 1023s EventSourceArn=queue.attributes["QueueArn"], FunctionName=func["FunctionArn"] 1023s ) 1023s 1023s tests/test_awslambda/test_lambda_eventsourcemapping.py:505: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'CreateEventSourceMapping' 1023s api_params = {'EventSourceArn': 'arn:aws:sqs:us-east-1:123456789012:1ea049_queue', 'FunctionName': 'arn:aws:lambda:us-east-1:123456789012:function:1ea049'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s _______________________ test_update_event_source_mapping _______________________ 1023s 1023s @mock_aws 1023s def test_update_event_source_mapping(): 1023s function_name = str(uuid.uuid4())[0:6] 1023s sqs = boto3.resource("sqs", region_name="us-east-1") 1023s queue = sqs.create_queue(QueueName=f"{function_name}_queue") 1023s  1023s conn = boto3.client("lambda", region_name="us-east-1") 1023s func1 = conn.create_function( 1023s FunctionName=function_name, 1023s Runtime=PYTHON_VERSION, 1023s Role=get_role_name(), 1023s Handler="lambda_function.lambda_handler", 1023s Code={"ZipFile": get_test_zip_file3()}, 1023s Description="test lambda function", 1023s Timeout=3, 1023s MemorySize=128, 1023s Publish=True, 1023s ) 1023s func2 = conn.create_function( 1023s FunctionName="testFunction2", 1023s Runtime=PYTHON_VERSION, 1023s Role=get_role_name(), 1023s Handler="lambda_function.lambda_handler", 1023s Code={"ZipFile": get_test_zip_file3()}, 1023s Description="test lambda function", 1023s Timeout=3, 1023s MemorySize=128, 1023s Publish=True, 1023s ) 1023s > response = conn.create_event_source_mapping( 1023s EventSourceArn=queue.attributes["QueueArn"], FunctionName=func1["FunctionArn"] 1023s ) 1023s 1023s tests/test_awslambda/test_lambda_eventsourcemapping.py:548: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'CreateEventSourceMapping' 1023s api_params = {'EventSourceArn': 'arn:aws:sqs:us-east-1:123456789012:95ea31_queue', 'FunctionName': 'arn:aws:lambda:us-east-1:123456789012:function:95ea31'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s _______________________ test_delete_event_source_mapping _______________________ 1023s 1023s @mock_aws 1023s def test_delete_event_source_mapping(): 1023s function_name = str(uuid.uuid4())[0:6] 1023s sqs = boto3.resource("sqs", region_name="us-east-1") 1023s queue = sqs.create_queue(QueueName=f"{function_name}_queue") 1023s  1023s conn = boto3.client("lambda", region_name="us-east-1") 1023s func1 = conn.create_function( 1023s FunctionName=function_name, 1023s Runtime=PYTHON_VERSION, 1023s Role=get_role_name(), 1023s Handler="lambda_function.lambda_handler", 1023s Code={"ZipFile": get_test_zip_file3()}, 1023s Description="test lambda function", 1023s Timeout=3, 1023s MemorySize=128, 1023s Publish=True, 1023s ) 1023s > response = conn.create_event_source_mapping( 1023s EventSourceArn=queue.attributes["QueueArn"], FunctionName=func1["FunctionArn"] 1023s ) 1023s 1023s tests/test_awslambda/test_lambda_eventsourcemapping.py:635: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'CreateEventSourceMapping' 1023s api_params = {'EventSourceArn': 'arn:aws:sqs:us-east-1:123456789012:7fe431_queue', 'FunctionName': 'arn:aws:lambda:us-east-1:123456789012:function:7fe431'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s _________________________ test_describe_flow_succeeds __________________________ 1023s 1023s @mock_aws 1023s def test_describe_flow_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s > describe_response = client.describe_flow(FlowArn=flow_arn) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:157: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s __________________________ test_delete_flow_succeeds ___________________________ 1023s 1023s @mock_aws 1023s def test_delete_flow_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s > delete_response = client.delete_flow(FlowArn=flow_arn) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:170: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:49: in delete_flow 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ________________________ test_start_stop_flow_succeeds _________________________ 1023s 1023s @mock_aws 1023s def test_start_stop_flow_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > start_response = client.start_flow(FlowArn=flow_arn) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:186: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:54: in start_flow 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ______________________________ test_unknown_flow _______________________________ 1023s 1023s @mock_aws 1023s def test_unknown_flow(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s  1023s with pytest.raises(ClientError) as exc: 1023s > client.describe_flow(FlowArn="unknown") 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:210: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s __________________________ test_tag_resource_succeeds __________________________ 1023s 1023s @mock_aws 1023s def test_tag_resource_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s  1023s > tag_response = client.tag_resource(ResourceArn="some-arn", Tags={"Tag1": "Value1"}) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:234: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:64: in tag_resource 1023s resource_arn = unquote(self._get_param("resourceArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ____________________ test_add_flow_vpc_interfaces_succeeds _____________________ 1023s 1023s @mock_aws 1023s def test_add_flow_vpc_interfaces_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > client.add_flow_vpc_interfaces( 1023s FlowArn=flow_arn, 1023s VpcInterfaces=[ 1023s { 1023s "Name": "VPCInterface", 1023s "SubnetId": "", 1023s "SecurityGroupIds": [], 1023s "RoleArn": "", 1023s } 1023s ], 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:252: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:75: in add_flow_vpc_interfaces 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ______________________ test_add_flow_vpc_interfaces_fails ______________________ 1023s 1023s @mock_aws 1023s def test_add_flow_vpc_interfaces_fails(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s flow_arn = "unknown-flow" 1023s with pytest.raises(ClientError) as err: 1023s > client.add_flow_vpc_interfaces(FlowArn=flow_arn, VpcInterfaces=[]) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:281: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:75: in add_flow_vpc_interfaces 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ___________________ test_remove_flow_vpc_interface_succeeds ____________________ 1023s 1023s @mock_aws 1023s def test_remove_flow_vpc_interface_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > client.add_flow_vpc_interfaces( 1023s FlowArn=flow_arn, 1023s VpcInterfaces=[ 1023s { 1023s "Name": "VPCInterface", 1023s "SubnetId": "", 1023s "SecurityGroupIds": [], 1023s "RoleArn": "", 1023s } 1023s ], 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:297: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:75: in add_flow_vpc_interfaces 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s _____________________ test_remove_flow_vpc_interface_fails _____________________ 1023s 1023s @mock_aws 1023s def test_remove_flow_vpc_interface_fails(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s flow_arn = "unknown-flow" 1023s with pytest.raises(ClientError) as err: 1023s > client.remove_flow_vpc_interface( 1023s FlowArn=flow_arn, VpcInterfaceName="VPCInterface" 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:324: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:85: in remove_flow_vpc_interface 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ________________________ test_add_flow_outputs_succeeds ________________________ 1023s 1023s @mock_aws 1023s def test_add_flow_outputs_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > client.add_flow_outputs( 1023s FlowArn=flow_arn, 1023s Outputs=[ 1023s {"Description": "string", "Name": "string", "Port": 123, "Protocol": "rist"} 1023s ], 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:342: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:95: in add_flow_outputs 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s _________________________ test_add_flow_outputs_fails __________________________ 1023s 1023s @mock_aws 1023s def test_add_flow_outputs_fails(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s flow_arn = "unknown-flow" 1023s with pytest.raises(ClientError) as err: 1023s > client.add_flow_outputs(FlowArn=flow_arn, Outputs=[]) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:360: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:95: in add_flow_outputs 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s _______________________ test_update_flow_output_succeeds _______________________ 1023s 1023s @mock_aws 1023s def test_update_flow_output_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s output_arn = create_response["Flow"]["Outputs"][0]["OutputArn"] 1023s  1023s > update_response = client.update_flow_output( 1023s FlowArn=flow_arn, OutputArn=output_arn, Description="new description" 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:377: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:111: in update_flow_output 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ________________________ test_update_flow_output_fails _________________________ 1023s 1023s @mock_aws 1023s def test_update_flow_output_fails(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s flow_arn = "unknown-flow" 1023s with pytest.raises(ClientError) as err: 1023s > client.update_flow_output( 1023s FlowArn=flow_arn, 1023s OutputArn="some-arn", 1023s Description="new description", 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:388: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:111: in update_flow_output 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ________________________ test_remove_flow_output_fails _________________________ 1023s 1023s @mock_aws 1023s def test_remove_flow_output_fails(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s flow_arn = "unknown-flow" 1023s output_arn = "unknown-arn" 1023s with pytest.raises(ClientError) as err: 1023s > client.remove_flow_output(FlowArn=flow_arn, OutputArn=output_arn) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:404: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:103: in remove_flow_output 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s _______________________ test_remove_flow_output_succeeds _______________________ 1023s 1023s @mock_aws 1023s def test_remove_flow_output_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > client.add_flow_outputs( 1023s FlowArn=flow_arn, 1023s Outputs=[ 1023s {"Description": "string", "Name": "string", "Port": 123, "Protocol": "rist"} 1023s ], 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:420: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:95: in add_flow_outputs 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s _________________________ test_add_flow_sources_fails __________________________ 1023s 1023s @mock_aws 1023s def test_add_flow_sources_fails(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s flow_arn = "unknown-flow" 1023s with pytest.raises(ClientError) as err: 1023s > client.add_flow_sources(FlowArn=flow_arn, Sources=[]) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:442: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:152: in add_flow_sources 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ________________________ test_add_flow_sources_succeeds ________________________ 1023s 1023s @mock_aws 1023s def test_add_flow_sources_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > client.add_flow_sources( 1023s FlowArn=flow_arn, 1023s Sources=[ 1023s { 1023s "Description": "string", 1023s "Name": "string", 1023s "Protocol": "rist", 1023s "SenderControlPort": 123, 1023s } 1023s ], 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:458: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:152: in add_flow_sources 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ________________________ test_update_flow_source_fails _________________________ 1023s 1023s @mock_aws 1023s def test_update_flow_source_fails(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s flow_arn = "unknown-flow" 1023s source_arn = "unknown-source" 1023s  1023s channel_config = _create_flow_config("test-Flow-1") 1023s client.create_flow(**channel_config) 1023s  1023s with pytest.raises(ClientError) as err: 1023s > client.update_flow_source( 1023s FlowArn=flow_arn, SourceArn=source_arn, Description="new description" 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:485: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:160: in update_flow_source 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s _______________________ test_update_flow_source_succeeds _______________________ 1023s 1023s @mock_aws 1023s def test_update_flow_source_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > add_response = client.add_flow_sources( 1023s FlowArn=flow_arn, 1023s Sources=[ 1023s { 1023s "Description": "string", 1023s "Name": "string", 1023s "Protocol": "rist", 1023s "SenderControlPort": 123, 1023s } 1023s ], 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:503: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:152: in add_flow_sources 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ______________________ test_grant_flow_entitlements_fails ______________________ 1023s 1023s @mock_aws 1023s def test_grant_flow_entitlements_fails(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s flow_arn = "unknown-flow" 1023s  1023s channel_config = _create_flow_config("test-Flow-1") 1023s client.create_flow(**channel_config) 1023s  1023s with pytest.raises(ClientError) as err: 1023s > client.grant_flow_entitlements( 1023s FlowArn=flow_arn, 1023s Entitlements=[ 1023s { 1023s "DataTransferSubscriberFeePercent": 12, 1023s "Description": "A new entitlement", 1023s "Encryption": {"Algorithm": "aes256", "RoleArn": "some:role"}, 1023s "EntitlementStatus": "ENABLED", 1023s "Name": "Entitlement-B", 1023s "Subscribers": [], 1023s } 1023s ], 1023s ) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:536: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:201: in grant_flow_entitlements 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ____________________ test_grant_flow_entitlements_succeeds _____________________ 1023s 1023s @mock_aws 1023s def test_grant_flow_entitlements_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > describe_response = client.describe_flow(FlowArn=flow_arn) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:564: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ______________________ test_revoke_flow_entitlement_fails ______________________ 1023s 1023s @mock_aws 1023s def test_revoke_flow_entitlement_fails(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > describe_response = client.describe_flow(FlowArn=flow_arn) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:607: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ____________________ test_revoke_flow_entitlement_succeeds _____________________ 1023s 1023s @mock_aws 1023s def test_revoke_flow_entitlement_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > describe_response = client.describe_flow(FlowArn=flow_arn) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:630: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ______________________ test_update_flow_entitlement_fails ______________________ 1023s 1023s @mock_aws 1023s def test_update_flow_entitlement_fails(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > describe_response = client.describe_flow(FlowArn=flow_arn) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:655: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ____________________ test_update_flow_entitlement_succeeds _____________________ 1023s 1023s @mock_aws 1023s def test_update_flow_entitlement_succeeds(): 1023s client = boto3.client("mediaconnect", region_name=region) 1023s channel_config = _create_flow_config("test-Flow-1") 1023s  1023s create_response = client.create_flow(**channel_config) 1023s assert create_response["ResponseMetadata"]["HTTPStatusCode"] == 200 1023s assert create_response["Flow"]["Status"] == "STANDBY" 1023s flow_arn = create_response["Flow"]["FlowArn"] 1023s  1023s > describe_response = client.describe_flow(FlowArn=flow_arn) 1023s 1023s tests/test_mediaconnect/test_mediaconnect.py:680: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1060: in _make_api_call 1023s http, parsed_response = self._make_request( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1084: in _make_request 1023s return self._endpoint.make_request(operation_model, request_dict) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:119: in make_request 1023s return self._send_request(request_dict, operation_model) 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:200: in _send_request 1023s while self._needs_retry( 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:360: in _needs_retry 1023s responses = self._event_emitter.emit( 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:207: in __call__ 1023s if self._checker(**checker_kwargs): 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:284: in __call__ 1023s should_retry = self._should_retry( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:307: in _should_retry 1023s return self._checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:363: in __call__ 1023s checker_response = checker( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:247: in __call__ 1023s return self._check_caught_exception( 1023s /usr/lib/python3/dist-packages/botocore/retryhandler.py:416: in _check_caught_exception 1023s raise caught_exception 1023s /usr/lib/python3/dist-packages/botocore/endpoint.py:276: in _do_get_response 1023s responses = self._event_emitter.emit(event_name, request=request) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:412: in emit 1023s return self._emitter.emit(aliased_event_name, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:256: in emit 1023s return self._emit(event_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/hooks.py:239: in _emit 1023s response = handler(**kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:38: in __call__ 1023s response = self.process_request(request) 1023s /usr/lib/python3/dist-packages/moto/core/botocore_stubber.py:88: in process_request 1023s status, headers, body = method_to_execute( 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:296: in dispatch 1023s return cls()._dispatch(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:508: in _dispatch 1023s return self.call_action() 1023s /usr/lib/python3/dist-packages/moto/core/responses.py:596: in call_action 1023s response = method() 1023s /usr/lib/python3/dist-packages/moto/mediaconnect/responses.py:44: in describe_flow 1023s flow_arn = unquote(self._get_param("flowArn")) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s string = None, encoding = 'utf-8', errors = 'replace' 1023s 1023s def unquote(string, encoding='utf-8', errors='replace'): 1023s  """Replace %xx escapes by their single-character equivalent. The optional 1023s  encoding and errors parameters specify how to decode percent-encoded 1023s  sequences into Unicode characters, as accepted by the bytes.decode() 1023s  method. 1023s  By default, percent-encoded sequences are decoded with UTF-8, and invalid 1023s  sequences are replaced by a placeholder character. 1023s  1023s  unquote('abc%20def') -> 'abc def'. 1023s  """ 1023s if isinstance(string, bytes): 1023s return _unquote_impl(string).decode(encoding, errors) 1023s > if '%' not in string: 1023s E TypeError: argument of type 'NoneType' is not iterable 1023s 1023s /usr/lib/python3.13/urllib/parse.py:704: TypeError 1023s ___________________________ test_create_app_response ___________________________ 1023s 1023s @freeze_time("2015-01-01") 1023s @mock_aws 1023s def test_create_app_response(): 1023s > client = boto3.client("opsworks", region_name="us-east-1") 1023s 1023s tests/test_opsworks/test_apps.py:12: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s service_name = 'opsworks', type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s ______________________________ test_describe_apps ______________________________ 1023s 1023s @freeze_time("2015-01-01") 1023s @mock_aws 1023s def test_describe_apps(): 1023s > client = boto3.client("opsworks", region_name="us-east-1") 1023s 1023s tests/test_opsworks/test_apps.py:49: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s service_name = 'opsworks', type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s _____________________________ test_create_instance _____________________________ 1023s 1023s @mock_aws 1023s def test_create_instance(): 1023s > client = boto3.client("opsworks", region_name="us-east-1") 1023s 1023s tests/test_opsworks/test_instances.py:11: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s service_name = 'opsworks', type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s ___________________________ test_describe_instances ____________________________ 1023s 1023s @mock_aws 1023s def test_describe_instances(): 1023s  """ 1023s  create two stacks, with 1 layer and 2 layers (S1L1, S2L1, S2L2) 1023s  1023s  populate S1L1 with 2 instances (S1L1_i1, S1L1_i2) 1023s  populate S2L1 with 1 instance (S2L1_i1) 1023s  populate S2L2 with 3 instances (S2L2_i1..2) 1023s  """ 1023s  1023s > client = boto3.client("opsworks", region_name="us-east-1") 1023s 1023s tests/test_opsworks/test_instances.py:87: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s service_name = 'opsworks', type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s _____________________________ test_ec2_integration _____________________________ 1023s 1023s @mock_aws 1023s def test_ec2_integration(): 1023s  """Verify instances created via OpsWorks are discoverable via ec2.""" 1023s > opsworks = boto3.client("opsworks", region_name="us-east-1") 1023s 1023s tests/test_opsworks/test_instances.py:186: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s service_name = 'opsworks', type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s __________________________ test_create_layer_response __________________________ 1023s 1023s @freeze_time("2015-01-01") 1023s @mock_aws 1023s def test_create_layer_response(): 1023s > client = boto3.client("opsworks", region_name="us-east-1") 1023s 1023s tests/test_opsworks/test_layers.py:12: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s service_name = 'opsworks', type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s _____________________________ test_describe_layers _____________________________ 1023s 1023s @freeze_time("2015-01-01") 1023s @mock_aws 1023s def test_describe_layers(): 1023s > client = boto3.client("opsworks", region_name="us-east-1") 1023s 1023s tests/test_opsworks/test_layers.py:74: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s service_name = 'opsworks', type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s __________________________ test_create_stack_response __________________________ 1023s 1023s @mock_aws 1023s def test_create_stack_response(): 1023s > client = boto3.client("opsworks", region_name="us-east-1") 1023s 1023s tests/test_opsworks/test_stack.py:9: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s service_name = 'opsworks', type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s _____________________________ test_describe_stacks _____________________________ 1023s 1023s @mock_aws 1023s def test_describe_stacks(): 1023s > client = boto3.client("opsworks", region_name="us-east-1") 1023s 1023s tests/test_opsworks/test_stack.py:21: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s service_name = 'opsworks', type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s _____________________________ test_create_db_proxy _____________________________ 1023s 1023s @mock_aws 1023s def test_create_db_proxy(): 1023s rds_client = boto3.client("rds", region_name=DEFAULT_REGION) 1023s ec2_client = boto3.client("ec2", region_name=DEFAULT_REGION) 1023s vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 1023s subnet_id = ec2_client.create_subnet(CidrBlock="10.0.1.0/24", VpcId=vpc_id)[ 1023s "Subnet" 1023s ]["SubnetId"] 1023s subnet_id_2 = ec2_client.create_subnet(CidrBlock="10.0.2.0/24", VpcId=vpc_id)[ 1023s "Subnet" 1023s ]["SubnetId"] 1023s > resp = rds_client.create_db_proxy( 1023s DBProxyName="testrdsproxy", 1023s EngineFamily="MYSQL", 1023s Auth=[ 1023s { 1023s "Description": "Test Description", 1023s "UserName": "Test Username", 1023s "AuthScheme": "SECRETS", 1023s "SecretArn": "TestSecretARN", 1023s "IAMAuth": "ENABLED", 1023s "ClientPasswordAuthType": "MYSQL_NATIVE_PASSWORD", 1023s }, 1023s ], 1023s RoleArn="TestArn", 1023s VpcSubnetIds=[subnet_id, subnet_id_2], 1023s RequireTLS=True, 1023s Tags=[{"Key": "TestKey", "Value": "TestValue"}], 1023s ) 1023s 1023s tests/test_rds/test_rds_proxy.py:22: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'Auth': [{'AuthScheme': 'SECRETS', 'ClientPasswordAuthType': 'MYSQL_NATIVE_PASSWORD', 'Description': 'Test Description', 'IAMAuth': 'ENABLED', ...}], 'DBProxyName': 'testrdsproxy', 'EngineFamily': 'MYSQL', 'RequireTLS': True, ...} 1023s operation_model = OperationModel(name=CreateDBProxy) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Invalid length for parameter Auth[0].SecretArn, value: 13, valid min length: 20 1023s E Invalid length for parameter RoleArn, value: 7, valid min length: 20 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ___________________________ test_describe_db_proxies ___________________________ 1023s 1023s @mock_aws 1023s def test_describe_db_proxies(): 1023s rds_client = boto3.client("rds", region_name=DEFAULT_REGION) 1023s ec2_client = boto3.client("ec2", region_name=DEFAULT_REGION) 1023s vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 1023s subnet_id = ec2_client.create_subnet(CidrBlock="10.0.1.0/24", VpcId=vpc_id)[ 1023s "Subnet" 1023s ]["SubnetId"] 1023s subnet_id_2 = ec2_client.create_subnet(CidrBlock="10.0.2.0/24", VpcId=vpc_id)[ 1023s "Subnet" 1023s ]["SubnetId"] 1023s > rds_client.create_db_proxy( 1023s DBProxyName="testrdsproxydescribe", 1023s EngineFamily="MYSQL", 1023s Auth=[ 1023s { 1023s "Description": "Test Description", 1023s "UserName": "Test Username", 1023s "AuthScheme": "SECRETS", 1023s "SecretArn": "TestSecretARN", 1023s "IAMAuth": "ENABLED", 1023s "ClientPasswordAuthType": "MYSQL_NATIVE_PASSWORD", 1023s }, 1023s ], 1023s RoleArn="TestArn", 1023s VpcSubnetIds=[subnet_id, subnet_id_2], 1023s RequireTLS=True, 1023s Tags=[ 1023s {"Key": "TestKey", "Value": "TestValue"}, 1023s {"Key": "aaa", "Value": "bbb"}, 1023s ], 1023s ) 1023s 1023s tests/test_rds/test_rds_proxy.py:76: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'Auth': [{'AuthScheme': 'SECRETS', 'ClientPasswordAuthType': 'MYSQL_NATIVE_PASSWORD', 'Description': 'Test Description', 'IAMAuth': 'ENABLED', ...}], 'DBProxyName': 'testrdsproxydescribe', 'EngineFamily': 'MYSQL', 'RequireTLS': True, ...} 1023s operation_model = OperationModel(name=CreateDBProxy) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Invalid length for parameter Auth[0].SecretArn, value: 13, valid min length: 20 1023s E Invalid length for parameter RoleArn, value: 7, valid min length: 20 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ___________________________ test_list_tags_db_proxy ____________________________ 1023s 1023s @mock_aws 1023s def test_list_tags_db_proxy(): 1023s rds_client = boto3.client("rds", region_name=DEFAULT_REGION) 1023s ec2_client = boto3.client("ec2", region_name=DEFAULT_REGION) 1023s vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 1023s subnet_id = ec2_client.create_subnet(CidrBlock="10.0.1.0/24", VpcId=vpc_id)[ 1023s "Subnet" 1023s ]["SubnetId"] 1023s subnet_id_2 = ec2_client.create_subnet(CidrBlock="10.0.2.0/24", VpcId=vpc_id)[ 1023s "Subnet" 1023s ]["SubnetId"] 1023s > resp = rds_client.create_db_proxy( 1023s DBProxyName="testrdsproxydescribe", 1023s EngineFamily="MYSQL", 1023s Auth=[ 1023s { 1023s "Description": "Test Description", 1023s "UserName": "Test Username", 1023s "AuthScheme": "SECRETS", 1023s "SecretArn": "TestSecretARN", 1023s "IAMAuth": "ENABLED", 1023s "ClientPasswordAuthType": "MYSQL_NATIVE_PASSWORD", 1023s }, 1023s ], 1023s RoleArn="TestArn", 1023s VpcSubnetIds=[subnet_id, subnet_id_2], 1023s RequireTLS=True, 1023s Tags=[ 1023s {"Key": "TestKey", "Value": "TestValue"}, 1023s {"Key": "aaa", "Value": "bbb"}, 1023s ], 1023s ) 1023s 1023s tests/test_rds/test_rds_proxy.py:134: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'Auth': [{'AuthScheme': 'SECRETS', 'ClientPasswordAuthType': 'MYSQL_NATIVE_PASSWORD', 'Description': 'Test Description', 'IAMAuth': 'ENABLED', ...}], 'DBProxyName': 'testrdsproxydescribe', 'EngineFamily': 'MYSQL', 'RequireTLS': True, ...} 1023s operation_model = OperationModel(name=CreateDBProxy) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Invalid length for parameter Auth[0].SecretArn, value: 13, valid min length: 20 1023s E Invalid length for parameter RoleArn, value: 7, valid min length: 20 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _____________________ test_create_db_proxy_invalid_subnet ______________________ 1023s 1023s @mock_aws 1023s def test_create_db_proxy_invalid_subnet(): 1023s rds_client = boto3.client("rds", region_name=DEFAULT_REGION) 1023s ec2_client = boto3.client("ec2", region_name=DEFAULT_REGION) 1023s vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 1023s vpc_id_2 = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 1023s subnet_id = ec2_client.create_subnet(CidrBlock="10.0.1.0/24", VpcId=vpc_id)[ 1023s "Subnet" 1023s ]["SubnetId"] 1023s subnet_id_2 = ec2_client.create_subnet(CidrBlock="10.0.2.0/24", VpcId=vpc_id_2)[ 1023s "Subnet" 1023s ]["SubnetId"] 1023s with pytest.raises(ClientError) as ex: 1023s > rds_client.create_db_proxy( 1023s DBProxyName="testrdsproxy", 1023s EngineFamily="MYSQL", 1023s Auth=[ 1023s { 1023s "Description": "Test Description", 1023s "UserName": "Test Username", 1023s "AuthScheme": "SECRETS", 1023s "SecretArn": "TestSecretARN", 1023s "IAMAuth": "ENABLED", 1023s "ClientPasswordAuthType": "MYSQL_NATIVE_PASSWORD", 1023s }, 1023s ], 1023s RoleArn="TestArn", 1023s VpcSubnetIds=[subnet_id, subnet_id_2], 1023s RequireTLS=True, 1023s Tags=[{"Key": "TestKey", "Value": "TestValue"}], 1023s ) 1023s 1023s tests/test_rds/test_rds_proxy.py:176: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'Auth': [{'AuthScheme': 'SECRETS', 'ClientPasswordAuthType': 'MYSQL_NATIVE_PASSWORD', 'Description': 'Test Description', 'IAMAuth': 'ENABLED', ...}], 'DBProxyName': 'testrdsproxy', 'EngineFamily': 'MYSQL', 'RequireTLS': True, ...} 1023s operation_model = OperationModel(name=CreateDBProxy) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Invalid length for parameter Auth[0].SecretArn, value: 13, valid min length: 20 1023s E Invalid length for parameter RoleArn, value: 7, valid min length: 20 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _____________________ test_create_db_proxy_duplicate_name ______________________ 1023s 1023s @mock_aws 1023s def test_create_db_proxy_duplicate_name(): 1023s rds_client = boto3.client("rds", region_name=DEFAULT_REGION) 1023s ec2_client = boto3.client("ec2", region_name=DEFAULT_REGION) 1023s vpc_id = ec2_client.create_vpc(CidrBlock="10.0.0.0/16")["Vpc"]["VpcId"] 1023s subnet_id = ec2_client.create_subnet(CidrBlock="10.0.1.0/24", VpcId=vpc_id)[ 1023s "Subnet" 1023s ]["SubnetId"] 1023s subnet_id_2 = ec2_client.create_subnet(CidrBlock="10.0.2.0/24", VpcId=vpc_id)[ 1023s "Subnet" 1023s ]["SubnetId"] 1023s > rds_client.create_db_proxy( 1023s DBProxyName="testrdsproxy", 1023s EngineFamily="MYSQL", 1023s Auth=[ 1023s { 1023s "Description": "Test Description", 1023s "UserName": "Test Username", 1023s "AuthScheme": "SECRETS", 1023s "SecretArn": "TestSecretARN", 1023s "IAMAuth": "ENABLED", 1023s "ClientPasswordAuthType": "MYSQL_NATIVE_PASSWORD", 1023s }, 1023s ], 1023s RoleArn="TestArn", 1023s VpcSubnetIds=[subnet_id, subnet_id_2], 1023s RequireTLS=True, 1023s Tags=[{"Key": "TestKey", "Value": "TestValue"}], 1023s ) 1023s 1023s tests/test_rds/test_rds_proxy.py:209: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'Auth': [{'AuthScheme': 'SECRETS', 'ClientPasswordAuthType': 'MYSQL_NATIVE_PASSWORD', 'Description': 'Test Description', 'IAMAuth': 'ENABLED', ...}], 'DBProxyName': 'testrdsproxy', 'EngineFamily': 'MYSQL', 'RequireTLS': True, ...} 1023s operation_model = OperationModel(name=CreateDBProxy) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Invalid length for parameter Auth[0].SecretArn, value: 13, valid min length: 20 1023s E Invalid length for parameter RoleArn, value: 7, valid min length: 20 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ________________________ test_get_resources_workspaces _________________________ 1023s 1023s @mock_aws 1023s def test_get_resources_workspaces(): 1023s workspaces = boto3.client("workspaces", region_name="eu-central-1") 1023s  1023s # Create two tagged Workspaces 1023s directory_id = create_directory() 1023s > workspaces.register_workspace_directory( 1023s DirectoryId=directory_id, EnableWorkDocs=False 1023s ) 1023s 1023s tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py:804: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-1603818045', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ___________________ test_get_resources_workspace_directories ___________________ 1023s 1023s @mock_aws 1023s def test_get_resources_workspace_directories(): 1023s workspaces = boto3.client("workspaces", region_name="eu-central-1") 1023s  1023s # Create two tagged Workspaces Directories 1023s for i in range(1, 3): 1023s i_str = str(i) 1023s directory_id = create_directory() 1023s > workspaces.register_workspace_directory( 1023s DirectoryId=directory_id, 1023s EnableWorkDocs=False, 1023s Tags=[ 1023s {"Key": "Test", "Value": i_str}, 1023s ], 1023s ) 1023s 1023s tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py:851: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-216d1a6362', 'EnableWorkDocs': False, 'Tags': [{'Key': 'Test', 'Value': '1'}]} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _____________________ test_get_resources_workspace_images ______________________ 1023s 1023s @mock_aws 1023s def test_get_resources_workspace_images(): 1023s workspaces = boto3.client("workspaces", region_name="eu-central-1") 1023s  1023s # Create two tagged Workspace Images 1023s directory_id = create_directory() 1023s > workspaces.register_workspace_directory( 1023s DirectoryId=directory_id, EnableWorkDocs=False 1023s ) 1023s 1023s tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py:880: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-c43c266519', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ____________________________ test_robot_application ____________________________ 1023s 1023s @mock_aws 1023s def test_robot_application(): 1023s > client = boto3.client("robomaker", region_name="eu-west-1") 1023s 1023s tests/test_robomaker/test_robomaker.py:11: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/boto3/__init__.py:92: in client 1023s return _get_default_session().client(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/boto3/session.py:322: in client 1023s return self._session.create_client( 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/session.py:1031: in create_client 1023s client = client_creator.create_client( 1023s /usr/lib/python3/dist-packages/botocore/client.py:120: in create_client 1023s service_model = self._load_service_model(service_name, api_version) 1023s /usr/lib/python3/dist-packages/botocore/client.py:233: in _load_service_model 1023s json_model = self._loader.load_service_model( 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:143: in _wrapper 1023s data = func(self, *args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s service_name = 'robomaker', type_name = 'service-2', api_version = None 1023s 1023s @instance_cache 1023s def load_service_model(self, service_name, type_name, api_version=None): 1023s  """Load a botocore service model 1023s  1023s  This is the main method for loading botocore models (e.g. a service 1023s  model, pagination configs, waiter configs, etc.). 1023s  1023s  :type service_name: str 1023s  :param service_name: The name of the service (e.g ``ec2``, ``s3``). 1023s  1023s  :type type_name: str 1023s  :param type_name: The model type. Valid types include, but are not 1023s  limited to: ``service-2``, ``paginators-1``, ``waiters-2``. 1023s  1023s  :type api_version: str 1023s  :param api_version: The API version to load. If this is not 1023s  provided, then the latest API version will be used. 1023s  1023s  :type load_extras: bool 1023s  :param load_extras: Whether or not to load the tool extras which 1023s  contain additional data to be added to the model. 1023s  1023s  :raises: UnknownServiceError if there is no known service with 1023s  the provided service_name. 1023s  1023s  :raises: DataNotFoundError if no data could be found for the 1023s  service_name/type_name/api_version. 1023s  1023s  :return: The loaded data, as a python type (e.g. dict, list, etc). 1023s  """ 1023s # Wrapper around the load_data. This will calculate the path 1023s # to call load_data with. 1023s known_services = self.list_available_services(type_name) 1023s if service_name not in known_services: 1023s > raise UnknownServiceError( 1023s service_name=service_name, 1023s known_service_names=', '.join(sorted(known_services)), 1023s ) 1023s E botocore.exceptions.UnknownServiceError: Unknown service: 'robomaker'. Valid service names are: accessanalyzer, account, acm, acm-pca, aiops, amp, amplify, amplifybackend, amplifyuibuilder, apigateway, apigatewaymanagementapi, apigatewayv2, appconfig, appconfigdata, appfabric, appflow, appintegrations, application-autoscaling, application-insights, application-signals, applicationcostprofiler, appmesh, apprunner, appstream, appsync, arc-region-switch, arc-zonal-shift, artifact, athena, auditmanager, autoscaling, autoscaling-plans, b2bi, backup, backup-gateway, backupsearch, batch, bcm-dashboards, bcm-data-exports, bcm-pricing-calculator, bcm-recommended-actions, bedrock, bedrock-agent, bedrock-agent-runtime, bedrock-agentcore, bedrock-agentcore-control, bedrock-data-automation, bedrock-data-automation-runtime, bedrock-runtime, billing, billingconductor, braket, budgets, ce, chatbot, chime, chime-sdk-identity, chime-sdk-media-pipelines, chime-sdk-meetings, chime-sdk-messaging, chime-sdk-voice, cleanrooms, cleanroomsml, cloud9, cloudcontrol, clouddirectory, cloudformation, cloudfront, cloudfront-keyvaluestore, cloudhsm, cloudhsmv2, cloudsearch, cloudsearchdomain, cloudtrail, cloudtrail-data, cloudwatch, codeartifact, codebuild, codecatalyst, codecommit, codeconnections, codedeploy, codeguru-reviewer, codeguru-security, codeguruprofiler, codepipeline, codestar-connections, codestar-notifications, cognito-identity, cognito-idp, cognito-sync, comprehend, comprehendmedical, compute-optimizer, config, connect, connect-contact-lens, connectcampaigns, connectcampaignsv2, connectcases, connectparticipant, controlcatalog, controltower, cost-optimization-hub, cur, customer-profiles, databrew, dataexchange, datapipeline, datasync, datazone, dax, deadline, detective, devicefarm, devops-guru, directconnect, discovery, dlm, dms, docdb, docdb-elastic, drs, ds, ds-data, dsql, dynamodb, dynamodbstreams, ebs, ec2, ec2-instance-connect, ecr, ecr-public, ecs, efs, eks, eks-auth, elasticache, elasticbeanstalk, elastictranscoder, elb, elbv2, emr, emr-containers, emr-serverless, entityresolution, es, events, evidently, evs, finspace, finspace-data, firehose, fis, fms, forecast, forecastquery, frauddetector, freetier, fsx, gamelift, gameliftstreams, geo-maps, geo-places, geo-routes, glacier, globalaccelerator, glue, grafana, greengrass, greengrassv2, groundstation, guardduty, health, healthlake, iam, identitystore, imagebuilder, importexport, inspector, inspector-scan, inspector2, internetmonitor, invoicing, iot, iot-data, iot-jobs-data, iot-managed-integrations, iotanalytics, iotdeviceadvisor, iotevents, iotevents-data, iotfleetwise, iotsecuretunneling, iotsitewise, iotthingsgraph, iottwinmaker, iotwireless, ivs, ivs-realtime, ivschat, kafka, kafkaconnect, kendra, kendra-ranking, keyspaces, keyspacesstreams, kinesis, kinesis-video-archived-media, kinesis-video-media, kinesis-video-signaling, kinesis-video-webrtc-storage, kinesisanalytics, kinesisanalyticsv2, kinesisvideo, kms, lakeformation, lambda, launch-wizard, lex-models, lex-runtime, lexv2-models, lexv2-runtime, license-manager, license-manager-linux-subscriptions, license-manager-user-subscriptions, lightsail, location, logs, lookoutequipment, m2, machinelearning, macie2, mailmanager, managedblockchain, managedblockchain-query, marketplace-agreement, marketplace-catalog, marketplace-deployment, marketplace-entitlement, marketplace-reporting, marketplacecommerceanalytics, mediaconnect, mediaconvert, medialive, mediapackage, mediapackage-vod, mediapackagev2, mediastore, mediastore-data, mediatailor, medical-imaging, memorydb, meteringmarketplace, mgh, mgn, migration-hub-refactor-spaces, migrationhub-config, migrationhuborchestrator, migrationhubstrategy, mpa, mq, mturk, mwaa, neptune, neptune-graph, neptunedata, network-firewall, networkflowmonitor, networkmanager, networkmonitor, notifications, notificationscontacts, oam, observabilityadmin, odb, omics, opensearch, opensearchserverless, organizations, osis, outposts, panorama, partnercentral-selling, payment-cryptography, payment-cryptography-data, pca-connector-ad, pca-connector-scep, pcs, personalize, personalize-events, personalize-runtime, pi, pinpoint, pinpoint-email, pinpoint-sms-voice, pinpoint-sms-voice-v2, pipes, polly, pricing, proton, qapps, qbusiness, qconnect, quicksight, ram, rbin, rds, rds-data, redshift, redshift-data, redshift-serverless, rekognition, repostspace, resiliencehub, resource-explorer-2, resource-groups, resourcegroupstaggingapi, rolesanywhere, route53, route53-recovery-cluster, route53-recovery-control-config, route53-recovery-readiness, route53domains, route53profiles, route53resolver, rtbfabric, rum, s3, s3control, s3outposts, s3tables, s3vectors, sagemaker, sagemaker-a2i-runtime, sagemaker-edge, sagemaker-featurestore-runtime, sagemaker-geospatial, sagemaker-metrics, sagemaker-runtime, savingsplans, scheduler, schemas, sdb, secretsmanager, security-ir, securityhub, securitylake, serverlessrepo, service-quotas, servicecatalog, servicecatalog-appregistry, servicediscovery, ses, sesv2, shield, signer, simspaceweaver, sms-voice, snow-device-management, snowball, sns, socialmessaging, sqs, ssm, ssm-contacts, ssm-guiconnect, ssm-incidents, ssm-quicksetup, ssm-sap, sso, sso-admin, sso-oidc, stepfunctions, storagegateway, sts, supplychain, support, support-app, swf, synthetics, taxsettings, textract, timestream-influxdb, timestream-query, timestream-write, tnb, transcribe, transfer, translate, trustedadvisor, verifiedpermissions, voice-id, vpc-lattice, waf, waf-regional, wafv2, wellarchitected, wisdom, workdocs, workmail, workmailmessageflow, workspaces, workspaces-instances, workspaces-thin-client, workspaces-web, xray 1023s 1023s /usr/lib/python3/dist-packages/botocore/loaders.py:409: UnknownServiceError 1023s __________________ test_locked_object_governance_mode[bypass] __________________ 1023s 1023s bypass_governance_retention = True 1023s bucket_name = 'c4ad09c2-87a2-4909-930b-cc271929eec0' 1023s 1023s @s3_aws_verified 1023s @pytest.mark.aws_verified 1023s @pytest.mark.parametrize( 1023s "bypass_governance_retention", 1023s [True, False, None], 1023s ids=["bypass", "no_bypass", "unspecified"], 1023s ) 1023s def test_locked_object_governance_mode(bypass_governance_retention, bucket_name=None): 1023s s3_client = boto3.client("s3", DEFAULT_REGION_NAME) 1023s  1023s key_name = "file.txt" 1023s seconds_lock = 10 1023s  1023s enable_versioning(bucket_name, s3_client) 1023s  1023s s3_client.put_object_lock_configuration( 1023s Bucket=bucket_name, 1023s ObjectLockConfiguration={ 1023s "ObjectLockEnabled": "Enabled", 1023s "Rule": {"DefaultRetention": {"Mode": "GOVERNANCE", "Days": 1}}, 1023s }, 1023s ) 1023s  1023s until = utcnow() + datetime.timedelta(seconds=seconds_lock) 1023s s3_client.put_object( 1023s Bucket=bucket_name, 1023s Body=b"test", 1023s Key=key_name, 1023s ObjectLockMode="GOVERNANCE", 1023s ObjectLockRetainUntilDate=until, 1023s ContentMD5=generate_content_md5(b"test"), 1023s ) 1023s  1023s versions_response = s3_client.list_object_versions(Bucket=bucket_name) 1023s initial_version_id = versions_response["Versions"][0]["VersionId"] 1023s  1023s with pytest.raises(ClientError) as exc: 1023s s3_client.delete_object( 1023s Bucket=bucket_name, Key=key_name, VersionId=initial_version_id 1023s ) 1023s err = exc.value.response["Error"] 1023s assert err["Code"] == "AccessDenied" 1023s  1023s kwargs = {} 1023s if bypass_governance_retention in [True, False]: 1023s kwargs["BypassGovernanceRetention"] = bypass_governance_retention 1023s  1023s # Delete the object without VersionId always succeeds 1023s response = s3_client.delete_objects( 1023s Bucket=bucket_name, 1023s Delete={ 1023s "Objects": [ 1023s {"Key": key_name}, 1023s ], 1023s }, 1023s **kwargs, 1023s ) 1023s assert response["Deleted"][0]["Key"] == key_name 1023s deleted_version_id = response["Deleted"][0]["DeleteMarkerVersionId"] 1023s  1023s # Delete any version id only succeeds if BypassGovernanceRetention=true 1023s response = s3_client.delete_objects( 1023s Bucket=bucket_name, 1023s Delete={ 1023s "Objects": [ 1023s {"Key": key_name, "VersionId": initial_version_id}, 1023s ], 1023s }, 1023s **kwargs, 1023s ) 1023s if bypass_governance_retention: 1023s > assert "Deleted" in response 1023s E AssertionError: assert 'Deleted' in {'Errors': [{'Code': 'AccessDenied', 'Key': 'file.txt', 'Message': 'Access Denied because object protected by object l...KIZ'}, 'HTTPStatusCode': 200, 'RequestId': 'LIrAhzinWsP7FznljrljgvJTDvLfWrlt7rtZ7WxO7IoN8Kcu8KIZ', 'RetryAttempts': 0}} 1023s 1023s tests/test_s3/test_s3_lock.py:130: AssertionError 1023s ________________________________ test_get_table ________________________________ 1023s 1023s @mock_aws 1023s def test_get_table(): 1023s client = boto3.client("s3tables", region_name="us-east-2") 1023s arn = client.create_table_bucket(name="foo")["arn"] 1023s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 1023s table_arn = client.create_table( 1023s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 1023s )["tableARN"] 1023s  1023s assert ( 1023s > client.get_table(tableBucketARN=arn, namespace="bar", name="baz")["tableARN"] 1023s == table_arn 1023s ) 1023s 1023s tests/test_s3tables/test_s3tables.py:156: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'GetTable' 1023s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s ______________ test_delete_table_deletes_underlying_table_storage ______________ 1023s 1023s @mock_aws 1023s def test_delete_table_deletes_underlying_table_storage(): 1023s client = boto3.client("s3tables", region_name="us-east-2") 1023s s3 = boto3.client("s3", region_name="us-east-2") 1023s arn = client.create_table_bucket(name="foo")["arn"] 1023s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 1023s client.create_table( 1023s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 1023s ) 1023s > warehouse = client.get_table(tableBucketARN=arn, namespace="bar", name="baz")[ 1023s "warehouseLocation" 1023s ] 1023s 1023s tests/test_s3tables/test_s3tables.py:227: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'GetTable' 1023s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s _____________________ test_update_table_metadata_location ______________________ 1023s 1023s @mock_aws 1023s def test_update_table_metadata_location(): 1023s client = boto3.client("s3tables", region_name="us-east-2") 1023s arn = client.create_table_bucket(name="foo")["arn"] 1023s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 1023s resp = client.create_table( 1023s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 1023s ) 1023s > resp = client.get_table(tableBucketARN=arn, namespace="bar", name="baz") 1023s 1023s tests/test_s3tables/test_s3tables.py:280: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'GetTable' 1023s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s _________________________ test_write_metadata_to_table _________________________ 1023s 1023s @mock_aws 1023s def test_write_metadata_to_table() -> None: 1023s client = boto3.client("s3tables", region_name="us-east-2") 1023s arn = client.create_table_bucket(name="foo")["arn"] 1023s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 1023s resp = client.create_table( 1023s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 1023s ) 1023s  1023s > resp = client.get_table(tableBucketARN=arn, namespace="bar", name="baz") 1023s 1023s tests/test_s3tables/test_s3tables.py:324: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'GetTable' 1023s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s _________ test_underlying_table_storage_does_not_support_list_objects __________ 1023s 1023s @mock_aws 1023s def test_underlying_table_storage_does_not_support_list_objects() -> None: 1023s client = boto3.client("s3tables", region_name="us-east-2") 1023s arn = client.create_table_bucket(name="foo")["arn"] 1023s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 1023s resp = client.create_table( 1023s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 1023s ) 1023s  1023s > resp = client.get_table(tableBucketARN=arn, namespace="bar", name="baz") 1023s 1023s tests/test_s3tables/test_s3tables.py:356: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'GetTable' 1023s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s _________ test_underlying_table_storage_does_not_support_delete_object _________ 1023s 1023s @mock_aws 1023s def test_underlying_table_storage_does_not_support_delete_object() -> None: 1023s client = boto3.client("s3tables", region_name="us-east-2") 1023s arn = client.create_table_bucket(name="foo")["arn"] 1023s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 1023s resp = client.create_table( 1023s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 1023s ) 1023s  1023s > resp = client.get_table(tableBucketARN=arn, namespace="bar", name="baz") 1023s 1023s tests/test_s3tables/test_s3tables.py:374: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'GetTable' 1023s api_params = {'name': 'baz', 'namespace': 'bar', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s ______________________________ test_rename_table _______________________________ 1023s 1023s @mock_aws 1023s def test_rename_table() -> None: 1023s client = boto3.client("s3tables", region_name="us-east-2") 1023s arn = client.create_table_bucket(name="foo")["arn"] 1023s client.create_namespace(tableBucketARN=arn, namespace=["bar"]) 1023s resp = client.create_table( 1023s tableBucketARN=arn, namespace="bar", name="baz", format="ICEBERG" 1023s ) 1023s  1023s client.create_namespace(tableBucketARN=arn, namespace=["bar-two"]) 1023s client.rename_table( 1023s tableBucketARN=arn, 1023s namespace="bar", 1023s name="baz", 1023s newNamespaceName="bar-two", 1023s newName="baz-two", 1023s versionToken=resp["versionToken"], 1023s ) 1023s assert ( 1023s > client.get_table(tableBucketARN=arn, namespace="bar-two", name="baz-two")[ 1023s "name" 1023s ] 1023s == "baz-two" 1023s ) 1023s 1023s tests/test_s3tables/test_s3tables.py:403: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'GetTable' 1023s api_params = {'name': 'baz-two', 'namespace': 'bar-two', 'tableBucketARN': 'arn:aws:s3tables:us-east-2:123456789012:bucket/foo'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the GetTable operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s ___________________________ test_s3tables_get_table ____________________________ 1023s 1023s bucket_name = 'table-bucketsshalnkadx' 1023s 1023s def test_s3tables_get_table(bucket_name: str): 1023s backend = server.create_backend_app("s3tables") 1023s test_client = backend.test_client() 1023s  1023s resp = test_client.put("/buckets", json={"name": bucket_name}) 1023s arn = resp.get_json()["arn"] 1023s  1023s quoted_arn = quote(arn, safe="") 1023s resp = test_client.put(f"/namespaces/{quoted_arn}", json={"namespace": ["bar"]}) 1023s  1023s resp = test_client.put( 1023s f"/tables/{quoted_arn}/bar", json={"name": "baz", "format": "ICEBERG"} 1023s ) 1023s  1023s resp = test_client.get(f"/tables/{quoted_arn}/bar/baz") 1023s > assert resp.status_code == 200 1023s E assert 404 == 200 1023s E + where 404 = .status_code 1023s 1023s tests/test_s3tables/test_server.py:126: AssertionError 1023s ___________________ test_invoke_fake_function_from_sqs_queue ___________________ 1023s 1023s @mock_aws(config={"lambda": {"use_docker": False}}) 1023s def test_invoke_fake_function_from_sqs_queue(): 1023s if not settings.TEST_DECORATOR_MODE: 1023s raise SkipTest("Can only set Config in DecoratorMode") 1023s logs_conn = boto3.client("logs", region_name="us-east-1") 1023s sqs = boto3.resource("sqs", region_name="us-east-1") 1023s queue_name = str(uuid.uuid4())[0:6] 1023s queue = sqs.create_queue(QueueName=queue_name) 1023s  1023s fn_name = str(uuid.uuid4())[0:6] 1023s conn = boto3.client("lambda", region_name="us-east-1") 1023s func = conn.create_function( 1023s FunctionName=fn_name, 1023s Runtime="python3.11", 1023s Role=get_role_name(), 1023s Handler="lambda_function.lambda_handler", 1023s Code={"ZipFile": b"n/a"}, 1023s ) 1023s  1023s > conn.create_event_source_mapping( 1023s EventSourceArn=queue.attributes["QueueArn"], FunctionName=func["FunctionArn"] 1023s ) 1023s 1023s tests/test_sqs/test_sqs_integration.py:94: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s operation_name = 'CreateEventSourceMapping' 1023s api_params = {'EventSourceArn': 'arn:aws:sqs:us-east-1:123456789012:e986d3', 'FunctionName': 'arn:aws:lambda:us-east-1:123456789012:function:ee3227'} 1023s 1023s @with_current_context() 1023s def _make_api_call(self, operation_name, api_params): 1023s operation_model = self._service_model.operation_model(operation_name) 1023s service_name = self._service_model.service_name 1023s history_recorder.record( 1023s 'API_CALL', 1023s { 1023s 'service': service_name, 1023s 'operation': operation_name, 1023s 'params': api_params, 1023s }, 1023s ) 1023s if operation_model.deprecated: 1023s logger.debug( 1023s 'Warning: %s.%s() is deprecated', service_name, operation_name 1023s ) 1023s request_context = { 1023s 'client_region': self.meta.region_name, 1023s 'client_config': self.meta.config, 1023s 'has_streaming_input': operation_model.has_streaming_input, 1023s 'auth_type': operation_model.resolved_auth_type, 1023s 'unsigned_payload': operation_model.unsigned_payload, 1023s 'auth_options': self._service_model.metadata.get('auth'), 1023s } 1023s  1023s api_params = self._emit_api_params( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s context=request_context, 1023s ) 1023s ( 1023s endpoint_url, 1023s additional_headers, 1023s properties, 1023s ) = self._resolve_endpoint_ruleset( 1023s operation_model, api_params, request_context 1023s ) 1023s if properties: 1023s # Pass arbitrary endpoint info with the Request 1023s # for use during construction. 1023s request_context['endpoint_properties'] = properties 1023s request_dict = self._convert_to_request_dict( 1023s api_params=api_params, 1023s operation_model=operation_model, 1023s endpoint_url=endpoint_url, 1023s context=request_context, 1023s headers=additional_headers, 1023s ) 1023s resolve_checksum_context(request_dict, operation_model, api_params) 1023s  1023s service_id = self._service_model.service_id.hyphenize() 1023s handler, event_response = self.meta.events.emit_until_response( 1023s f'before-call.{service_id}.{operation_name}', 1023s model=operation_model, 1023s params=request_dict, 1023s request_signer=self._request_signer, 1023s context=request_context, 1023s ) 1023s  1023s if event_response is not None: 1023s http, parsed_response = event_response 1023s else: 1023s maybe_compress_request( 1023s self.meta.config, request_dict, operation_model 1023s ) 1023s apply_request_checksum(request_dict) 1023s http, parsed_response = self._make_request( 1023s operation_model, request_dict, request_context 1023s ) 1023s  1023s self.meta.events.emit( 1023s f'after-call.{service_id}.{operation_name}', 1023s http_response=http, 1023s parsed=parsed_response, 1023s model=operation_model, 1023s context=request_context, 1023s ) 1023s  1023s if http.status_code >= 300: 1023s error_info = parsed_response.get("Error", {}) 1023s error_code = request_context.get( 1023s 'error_code_override' 1023s ) or error_info.get("Code") 1023s error_class = self.exceptions.from_code(error_code) 1023s > raise error_class(parsed_response, operation_name) 1023s E botocore.exceptions.ClientError: An error occurred (404) when calling the CreateEventSourceMapping operation: Not yet implemented 1023s 1023s /usr/lib/python3/dist-packages/botocore/client.py:1078: ClientError 1023s ____________________________ test_create_workspaces ____________________________ 1023s 1023s @mock_aws 1023s def test_create_workspaces(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:31: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-18bd05c208', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s __________ test_create_workspaces_with_auto_stop_timeout_and_alwayson __________ 1023s 1023s @mock_aws 1023s def test_create_workspaces_with_auto_stop_timeout_and_alwayson(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:111: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-b2f3e2dda5', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ___________ test_create_workspaces_with_auto_stop_timeout_and_manual ___________ 1023s 1023s @mock_aws 1023s def test_create_workspaces_with_auto_stop_timeout_and_manual(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:137: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-1df0352fd2', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ___________________________ test_describe_workspaces ___________________________ 1023s 1023s @mock_aws 1023s def test_describe_workspaces(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:163: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-a8773162c2', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _____________ test_describe_workspaces_with_directory_and_username _____________ 1023s 1023s @mock_aws 1023s def test_describe_workspaces_with_directory_and_username(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:188: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-718605123d', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _________________ test_describe_workspaces_invalid_parameters __________________ 1023s 1023s @mock_aws 1023s def test_describe_workspaces_invalid_parameters(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:211: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-fb079ecc35', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _________________ test_describe_workspaces_only_user_name_used _________________ 1023s 1023s @mock_aws 1023s def test_describe_workspaces_only_user_name_used(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:246: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-8c9fdba7ea', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ______________________ test_register_workspace_directory _______________________ 1023s 1023s @mock_aws 1023s def test_register_workspace_directory(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:268: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-11402c4bc2', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ____________ test_register_workspace_directory_enable_self_service _____________ 1023s 1023s @mock_aws 1023s def test_register_workspace_directory_enable_self_service(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory( 1023s DirectoryId=directory_id, 1023s EnableWorkDocs=True, 1023s EnableSelfService=True, 1023s Tenancy="DEDICATED", 1023s ) 1023s 1023s tests/test_workspaces/test_workspaces.py:281: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-3141e3150d', 'EnableSelfService': True, 'EnableWorkDocs': True, 'Tenancy': 'DEDICATED'} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ________________ test_register_workspace_directory_with_subnets ________________ 1023s 1023s @mock_aws 1023s def test_register_workspace_directory_with_subnets(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:304: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-3db7343730', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _____________________ test_describe_workspace_directories ______________________ 1023s 1023s @mock_aws 1023s def test_describe_workspace_directories(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s for _ in range(2): 1023s directory_id = create_directory() 1023s > client.register_workspace_directory( 1023s DirectoryId=directory_id, 1023s EnableWorkDocs=True, 1023s ) 1023s 1023s tests/test_workspaces/test_workspaces.py:318: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-816f40c7f9', 'EnableWorkDocs': True} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ____________ test_describe_workspace_directories_with_directory_id _____________ 1023s 1023s @mock_aws 1023s def test_describe_workspace_directories_with_directory_id(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory( 1023s DirectoryId=directory_id, 1023s EnableWorkDocs=True, 1023s ) 1023s 1023s tests/test_workspaces/test_workspaces.py:347: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-3acb2fb2b4', 'EnableWorkDocs': True} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s __________________ test_modify_workspace_creation_properties ___________________ 1023s 1023s @mock_aws 1023s def test_modify_workspace_creation_properties(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s ec2_client = boto3.client("ec2", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s sg = create_security_group(client=ec2_client) 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:372: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-81a09fd34b', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s __________ test_modify_workspace_creation_properties_invalid_request ___________ 1023s 1023s @mock_aws 1023s def test_modify_workspace_creation_properties_invalid_request(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s ec2_client = boto3.client("ec2", region_name="eu-west-1") 1023s sg = create_security_group(client=ec2_client) 1023s with pytest.raises(ClientError) as exc: 1023s > client.modify_workspace_creation_properties( 1023s ResourceId="d-9067f6c44b", # Invalid DirectoryID 1023s WorkspaceCreationProperties={ 1023s "EnableWorkDocs": False, 1023s "CustomSecurityGroupId": sg["GroupId"], 1023s }, 1023s ) 1023s 1023s tests/test_workspaces/test_workspaces.py:394: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'ResourceId': 'd-9067f6c44b', 'WorkspaceCreationProperties': {'CustomSecurityGroupId': 'sg-04ac59e038f531334', 'EnableWorkDocs': False}} 1023s operation_model = OperationModel(name=ModifyWorkspaceCreationProperties) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in WorkspaceCreationProperties: "EnableWorkDocs", must be one of: EnableInternetAccess, DefaultOu, CustomSecurityGroupId, UserEnabledAsLocalAdministrator, EnableMaintenanceMode, InstanceIamRoleArn 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _______________________________ test_create_tags _______________________________ 1023s 1023s @mock_aws 1023s def test_create_tags(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory( 1023s DirectoryId=directory_id, 1023s EnableWorkDocs=True, 1023s Tags=[ 1023s {"Key": "foo1", "Value": "bar1"}, 1023s ], 1023s ) 1023s 1023s tests/test_workspaces/test_workspaces.py:409: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-e1ee0edb62', 'EnableWorkDocs': True, 'Tags': [{'Key': 'foo1', 'Value': 'bar1'}]} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ______________________________ test_describe_tags ______________________________ 1023s 1023s @mock_aws 1023s def test_describe_tags(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory( 1023s DirectoryId=directory_id, 1023s EnableWorkDocs=True, 1023s Tags=[ 1023s {"Key": "foo", "Value": "bar"}, 1023s ], 1023s ) 1023s 1023s tests/test_workspaces/test_workspaces.py:430: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-fa73b1b62e', 'EnableWorkDocs': True, 'Tags': [{'Key': 'foo', 'Value': 'bar'}]} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _______________________ test_describe_client_properties ________________________ 1023s 1023s @mock_aws 1023s def test_describe_client_properties(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory( 1023s DirectoryId=directory_id, 1023s EnableWorkDocs=True, 1023s ) 1023s 1023s tests/test_workspaces/test_workspaces.py:445: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-40d9d5f2e0', 'EnableWorkDocs': True} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ________________________ test_modify_client_properties _________________________ 1023s 1023s @mock_aws 1023s def test_modify_client_properties(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory( 1023s DirectoryId=directory_id, 1023s EnableWorkDocs=True, 1023s ) 1023s 1023s tests/test_workspaces/test_workspaces.py:457: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-90fbf43def', 'EnableWorkDocs': True} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _________________________ test_create_workspace_image __________________________ 1023s 1023s @mock_aws 1023s def test_create_workspace_image(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:478: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-3425b9126d', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s __________________ test_create_workspace_image_already_exists __________________ 1023s 1023s @mock_aws 1023s def test_create_workspace_image_already_exists(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:520: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-f8b7cde199', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ________________________ test_describe_workspace_images ________________________ 1023s 1023s @mock_aws 1023s def test_describe_workspace_images(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:550: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-192067a9d5', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s ____________________ test_update_workspace_image_permission ____________________ 1023s 1023s @mock_aws 1023s def test_update_workspace_image_permission(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:581: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-4d9717b5d4', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s __________________ test_describe_workspace_image_permissions ___________________ 1023s 1023s @mock_aws 1023s def test_describe_workspace_image_permissions(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:614: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-21a6b58dfd', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _____________________ test_deregister_workspace_directory ______________________ 1023s 1023s @mock_aws 1023s def test_deregister_workspace_directory(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s directory_id = create_directory() 1023s > client.register_workspace_directory(DirectoryId=directory_id, EnableWorkDocs=False) 1023s 1023s tests/test_workspaces/test_workspaces.py:651: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-1ce8bfe409', 'EnableWorkDocs': False} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s _____________________ test_modify_selfservice_permissions ______________________ 1023s 1023s @mock_aws 1023s def test_modify_selfservice_permissions(): 1023s client = boto3.client("workspaces", region_name="eu-west-1") 1023s  1023s directory_id = create_directory() 1023s > client.register_workspace_directory( 1023s DirectoryId=directory_id, 1023s EnableWorkDocs=True, 1023s ) 1023s 1023s tests/test_workspaces/test_workspaces.py:664: 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s /usr/lib/python3/dist-packages/botocore/client.py:602: in _api_call 1023s return self._make_api_call(operation_name, kwargs) 1023s /usr/lib/python3/dist-packages/botocore/context.py:123: in wrapper 1023s return func(*args, **kwargs) 1023s /usr/lib/python3/dist-packages/botocore/client.py:1035: in _make_api_call 1023s request_dict = self._convert_to_request_dict( 1023s /usr/lib/python3/dist-packages/botocore/client.py:1102: in _convert_to_request_dict 1023s request_dict = self._serializer.serialize_to_request( 1023s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1023s 1023s self = 1023s parameters = {'DirectoryId': 'd-099bb63c4c', 'EnableWorkDocs': True} 1023s operation_model = OperationModel(name=RegisterWorkspaceDirectory) 1023s 1023s def serialize_to_request(self, parameters, operation_model): 1023s input_shape = operation_model.input_shape 1023s if input_shape is not None: 1023s report = self._param_validator.validate( 1023s parameters, operation_model.input_shape 1023s ) 1023s if report.has_errors(): 1023s > raise ParamValidationError(report=report.generate_report()) 1023s E botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s E Unknown parameter in input: "EnableWorkDocs", must be one of: DirectoryId, SubnetIds, EnableSelfService, Tenancy, Tags, WorkspaceDirectoryName, WorkspaceDirectoryDescription, UserIdentityType, IdcInstanceArn, MicrosoftEntraConfig, WorkspaceType, ActiveDirectoryConfig 1023s 1023s /usr/lib/python3/dist-packages/botocore/validate.py:381: ParamValidationError 1023s =============================== warnings summary =============================== 1023s tests/test_core/test_docker.py:11 1023s /tmp/autopkgtest.Yozbrn/autopkgtest_tmp/build/tests/test_core/test_docker.py:11: PytestUnknownMarkWarning: Unknown pytest.mark.order - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1023s @pytest.mark.order(0) 1023s 1023s tests/test_core/test_docker.py:24 1023s /tmp/autopkgtest.Yozbrn/autopkgtest_tmp/build/tests/test_core/test_docker.py:24: PytestUnknownMarkWarning: Unknown pytest.mark.order - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 1023s @pytest.mark.order(0) 1023s 1023s ../../../../usr/lib/python3/dist-packages/aws_xray_sdk/core/sampling/default_sampler.py:5 1023s /usr/lib/python3/dist-packages/aws_xray_sdk/core/sampling/default_sampler.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html 1023s from pkg_resources import resource_filename 1023s 1023s tests/test_cognitoidp/test_cognitoidp.py: 36 warnings 1023s /usr/lib/python3/dist-packages/pycognito/aws_srp.py:310: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC). 1023s timestamp = self.get_cognito_formatted_timestamp(datetime.datetime.utcnow()) 1023s 1023s tests/test_ec2/test_key_pairs.py::test_key_pairs_invalid_boto3 1023s /usr/lib/python3/dist-packages/moto/ec2/utils.py:759: CryptographyDeprecationWarning: SSH DSA keys are deprecated and will be removed in a future release. 1023s public_key = serialization.load_ssh_public_key(key_material) 1023s 1023s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 1023s =========================== short test summary info ============================ 1023s FAILED tests/test_awslambda/test_awslambda_cloudformation.py::test_event_source_mapping_create_from_cloudformation_json - botocore.exceptions.ClientError: An error occurred (404) when calling the L... 1023s FAILED tests/test_awslambda/test_awslambda_cloudformation.py::test_event_source_mapping_delete_stack - botocore.exceptions.ClientError: An error occurred (404) when calling the L... 1023s FAILED tests/test_awslambda/test_awslambda_cloudformation.py::test_event_source_mapping_update_from_cloudformation_json - botocore.exceptions.ClientError: An error occurred (404) when calling the L... 1023s FAILED tests/test_awslambda/test_awslambda_cloudformation.py::test_event_source_mapping_delete_from_cloudformation_json - botocore.exceptions.ClientError: An error occurred (404) when calling the L... 1023s FAILED tests/test_awslambda/test_lambda_eventsourcemapping.py::test_create_event_source_mapping - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 1023s FAILED tests/test_awslambda/test_lambda_eventsourcemapping.py::test_list_event_source_mappings - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 1023s FAILED tests/test_awslambda/test_lambda_eventsourcemapping.py::test_get_event_source_mapping - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 1023s FAILED tests/test_awslambda/test_lambda_eventsourcemapping.py::test_update_event_source_mapping - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 1023s FAILED tests/test_awslambda/test_lambda_eventsourcemapping.py::test_delete_event_source_mapping - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_describe_flow_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_delete_flow_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_start_stop_flow_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_unknown_flow - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_tag_resource_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_vpc_interfaces_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_vpc_interfaces_fails - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_remove_flow_vpc_interface_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_remove_flow_vpc_interface_fails - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_outputs_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_outputs_fails - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_output_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_output_fails - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_remove_flow_output_fails - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_remove_flow_output_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_sources_fails - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_add_flow_sources_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_source_fails - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_source_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_grant_flow_entitlements_fails - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_grant_flow_entitlements_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_revoke_flow_entitlement_fails - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_revoke_flow_entitlement_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_entitlement_fails - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_mediaconnect/test_mediaconnect.py::test_update_flow_entitlement_succeeds - TypeError: argument of type 'NoneType' is not iterable 1023s FAILED tests/test_opsworks/test_apps.py::test_create_app_response - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 1023s FAILED tests/test_opsworks/test_apps.py::test_describe_apps - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 1023s FAILED tests/test_opsworks/test_instances.py::test_create_instance - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 1023s FAILED tests/test_opsworks/test_instances.py::test_describe_instances - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 1023s FAILED tests/test_opsworks/test_instances.py::test_ec2_integration - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 1023s FAILED tests/test_opsworks/test_layers.py::test_create_layer_response - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 1023s FAILED tests/test_opsworks/test_layers.py::test_describe_layers - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 1023s FAILED tests/test_opsworks/test_stack.py::test_create_stack_response - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 1023s FAILED tests/test_opsworks/test_stack.py::test_describe_stacks - botocore.exceptions.UnknownServiceError: Unknown service: 'opsworks'. Valid... 1023s FAILED tests/test_rds/test_rds_proxy.py::test_create_db_proxy - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_rds/test_rds_proxy.py::test_describe_db_proxies - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_rds/test_rds_proxy.py::test_list_tags_db_proxy - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_rds/test_rds_proxy.py::test_create_db_proxy_invalid_subnet - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_rds/test_rds_proxy.py::test_create_db_proxy_duplicate_name - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py::test_get_resources_workspaces - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py::test_get_resources_workspace_directories - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_resourcegroupstaggingapi/test_resourcegroupstaggingapi.py::test_get_resources_workspace_images - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_robomaker/test_robomaker.py::test_robot_application - botocore.exceptions.UnknownServiceError: Unknown service: 'robomaker'. Vali... 1023s FAILED tests/test_s3/test_s3_lock.py::test_locked_object_governance_mode[bypass] - AssertionError: assert 'Deleted' in {'Errors': [{'Code': 'AccessDenied', 'K... 1023s FAILED tests/test_s3tables/test_s3tables.py::test_get_table - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 1023s FAILED tests/test_s3tables/test_s3tables.py::test_delete_table_deletes_underlying_table_storage - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 1023s FAILED tests/test_s3tables/test_s3tables.py::test_update_table_metadata_location - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 1023s FAILED tests/test_s3tables/test_s3tables.py::test_write_metadata_to_table - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 1023s FAILED tests/test_s3tables/test_s3tables.py::test_underlying_table_storage_does_not_support_list_objects - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 1023s FAILED tests/test_s3tables/test_s3tables.py::test_underlying_table_storage_does_not_support_delete_object - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 1023s FAILED tests/test_s3tables/test_s3tables.py::test_rename_table - botocore.exceptions.ClientError: An error occurred (404) when calling the G... 1023s FAILED tests/test_s3tables/test_server.py::test_s3tables_get_table - assert 404 == 200 1023s FAILED tests/test_sqs/test_sqs_integration.py::test_invoke_fake_function_from_sqs_queue - botocore.exceptions.ClientError: An error occurred (404) when calling the C... 1023s FAILED tests/test_workspaces/test_workspaces.py::test_create_workspaces - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_create_workspaces_with_auto_stop_timeout_and_alwayson - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_create_workspaces_with_auto_stop_timeout_and_manual - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspaces - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspaces_with_directory_and_username - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspaces_invalid_parameters - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspaces_only_user_name_used - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_register_workspace_directory - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_register_workspace_directory_enable_self_service - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_register_workspace_directory_with_subnets - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspace_directories - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspace_directories_with_directory_id - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_modify_workspace_creation_properties - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_modify_workspace_creation_properties_invalid_request - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_create_tags - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_describe_tags - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_describe_client_properties - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_modify_client_properties - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_create_workspace_image - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_create_workspace_image_already_exists - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspace_images - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_update_workspace_image_permission - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_describe_workspace_image_permissions - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_deregister_workspace_directory - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s FAILED tests/test_workspaces/test_workspaces.py::test_modify_selfservice_permissions - botocore.exceptions.ParamValidationError: Parameter validation failed: 1023s ERROR tests/test_qldb/test_qldb.py::test_create_describe_update_and_delete_ledger - botocore.exceptions.UnknownServiceError: Unknown service: 'qldb'. Valid ser... 1023s ERROR tests/test_qldb/test_qldb.py::test_tag_resource_and_list_tags_for_resource - botocore.exceptions.UnknownServiceError: Unknown service: 'qldb'. Valid ser... 1023s = 87 failed, 9715 passed, 16 skipped, 140 deselected, 40 warnings, 2 errors in 473.42s (0:07:53) = 1028s E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest.Yozbrn/autopkgtest_tmp/build; python3.13 -m pytest -m 'not network and not requires_docker' tests --deselect tests/test_cloudformation/test_validate.py --deselect tests/test_dynamodb/test_dynamodb_import_table.py --deselect tests/test_dynamodb/test_dynamodb_statements.py --deselect tests/test_s3/test_s3_select.py --deselect tests/test_stepfunctions/parser/ --deselect 'tests/test_stepfunctions/test_stepfunctions_versions.py::test_describe_state_machine_using_version_arn[use_parser]' --deselect tests/test_dynamodb/test_dynamodb_account_mode.py::test_dynamodb_with_account_id_routing --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_entire_service --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_specific_url --deselect tests/test_core/test_request_passthrough.py::test_passthrough_calls_for_wildcard_urls --deselect tests/test_firehose/test_firehose_put.py::test_put_record_http_destination --deselect tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination --deselect tests/test_s3/test_multiple_accounts_server.py::TestAccountIdResolution::test_with_custom_request_header --deselect tests/test_s3/test_server.py::test_s3_server_post_cors_multiple_origins 1028s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 1028s make: *** [/tmp/qNgJi4B3U_/run:4: pybuild-autopkgtest] Error 25 1028s pybuild-autopkgtest: error: /tmp/qNgJi4B3U_/run pybuild-autopkgtest returned exit code 2 1028s autopkgtest [10:57:34]: test pybuild-autopkgtest: -----------------------] 1029s pybuild-autopkgtest FAIL non-zero exit status 25 1029s autopkgtest [10:57:35]: test pybuild-autopkgtest: - - - - - - - - - - results - - - - - - - - - - 1029s autopkgtest [10:57:35]: @@@@@@@@@@@@@@@@@@@@ summary 1029s pybuild-autopkgtest FAIL non-zero exit status 25