635 635 | "image",
|
636 636 | 1,
|
637 637 | );
|
638 638 | static CONTAINERDEFINITION_MEMBER_REPOSITORY_CREDENTIALS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
639 639 | ::aws_smithy_schema::ShapeId::from_static(
|
640 640 | "com.amazonaws.ecs#ContainerDefinition$repositoryCredentials",
|
641 641 | "com.amazonaws.ecs",
|
642 642 | "ContainerDefinition",
|
643 643 | ),
|
644 644 | ::aws_smithy_schema::ShapeType::Structure,
|
645 - | "repository_credentials",
|
645 + | "repositoryCredentials",
|
646 646 | 2,
|
647 647 | );
|
648 648 | static CONTAINERDEFINITION_MEMBER_CPU: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
649 649 | ::aws_smithy_schema::ShapeId::from_static("com.amazonaws.ecs#ContainerDefinition$cpu", "com.amazonaws.ecs", "ContainerDefinition"),
|
650 650 | ::aws_smithy_schema::ShapeType::Integer,
|
651 651 | "cpu",
|
652 652 | 3,
|
653 653 | );
|
654 654 | static CONTAINERDEFINITION_MEMBER_MEMORY: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
655 655 | ::aws_smithy_schema::ShapeId::from_static("com.amazonaws.ecs#ContainerDefinition$memory", "com.amazonaws.ecs", "ContainerDefinition"),
|
656 656 | ::aws_smithy_schema::ShapeType::Integer,
|
657 657 | "memory",
|
658 658 | 4,
|
659 659 | );
|
660 660 | static CONTAINERDEFINITION_MEMBER_MEMORY_RESERVATION: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
661 661 | ::aws_smithy_schema::ShapeId::from_static(
|
662 662 | "com.amazonaws.ecs#ContainerDefinition$memoryReservation",
|
663 663 | "com.amazonaws.ecs",
|
664 664 | "ContainerDefinition",
|
665 665 | ),
|
666 666 | ::aws_smithy_schema::ShapeType::Integer,
|
667 - | "memory_reservation",
|
667 + | "memoryReservation",
|
668 668 | 5,
|
669 669 | );
|
670 670 | static CONTAINERDEFINITION_MEMBER_LINKS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
671 671 | ::aws_smithy_schema::ShapeId::from_static("com.amazonaws.ecs#ContainerDefinition$links", "com.amazonaws.ecs", "ContainerDefinition"),
|
672 672 | ::aws_smithy_schema::ShapeType::List,
|
673 673 | "links",
|
674 674 | 6,
|
675 675 | );
|
676 676 | static CONTAINERDEFINITION_MEMBER_PORT_MAPPINGS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
677 677 | ::aws_smithy_schema::ShapeId::from_static(
|
678 678 | "com.amazonaws.ecs#ContainerDefinition$portMappings",
|
679 679 | "com.amazonaws.ecs",
|
680 680 | "ContainerDefinition",
|
681 681 | ),
|
682 682 | ::aws_smithy_schema::ShapeType::List,
|
683 - | "port_mappings",
|
683 + | "portMappings",
|
684 684 | 7,
|
685 685 | );
|
686 686 | static CONTAINERDEFINITION_MEMBER_ESSENTIAL: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
687 687 | ::aws_smithy_schema::ShapeId::from_static(
|
688 688 | "com.amazonaws.ecs#ContainerDefinition$essential",
|
689 689 | "com.amazonaws.ecs",
|
690 690 | "ContainerDefinition",
|
691 691 | ),
|
692 692 | ::aws_smithy_schema::ShapeType::Boolean,
|
693 693 | "essential",
|
694 694 | 8,
|
695 695 | );
|
696 696 | static CONTAINERDEFINITION_MEMBER_RESTART_POLICY: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
697 697 | ::aws_smithy_schema::ShapeId::from_static(
|
698 698 | "com.amazonaws.ecs#ContainerDefinition$restartPolicy",
|
699 699 | "com.amazonaws.ecs",
|
700 700 | "ContainerDefinition",
|
701 701 | ),
|
702 702 | ::aws_smithy_schema::ShapeType::Structure,
|
703 - | "restart_policy",
|
703 + | "restartPolicy",
|
704 704 | 9,
|
705 705 | );
|
706 706 | static CONTAINERDEFINITION_MEMBER_ENTRY_POINT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
707 707 | ::aws_smithy_schema::ShapeId::from_static(
|
708 708 | "com.amazonaws.ecs#ContainerDefinition$entryPoint",
|
709 709 | "com.amazonaws.ecs",
|
710 710 | "ContainerDefinition",
|
711 711 | ),
|
712 712 | ::aws_smithy_schema::ShapeType::List,
|
713 - | "entry_point",
|
713 + | "entryPoint",
|
714 714 | 10,
|
715 715 | );
|
716 716 | static CONTAINERDEFINITION_MEMBER_COMMAND: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
717 717 | ::aws_smithy_schema::ShapeId::from_static(
|
718 718 | "com.amazonaws.ecs#ContainerDefinition$command",
|
719 719 | "com.amazonaws.ecs",
|
720 720 | "ContainerDefinition",
|
721 721 | ),
|
722 722 | ::aws_smithy_schema::ShapeType::List,
|
723 723 | "command",
|
724 724 | 11,
|
725 725 | );
|
726 726 | static CONTAINERDEFINITION_MEMBER_ENVIRONMENT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
727 727 | ::aws_smithy_schema::ShapeId::from_static(
|
728 728 | "com.amazonaws.ecs#ContainerDefinition$environment",
|
729 729 | "com.amazonaws.ecs",
|
730 730 | "ContainerDefinition",
|
731 731 | ),
|
732 732 | ::aws_smithy_schema::ShapeType::List,
|
733 733 | "environment",
|
734 734 | 12,
|
735 735 | );
|
736 736 | static CONTAINERDEFINITION_MEMBER_ENVIRONMENT_FILES: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
737 737 | ::aws_smithy_schema::ShapeId::from_static(
|
738 738 | "com.amazonaws.ecs#ContainerDefinition$environmentFiles",
|
739 739 | "com.amazonaws.ecs",
|
740 740 | "ContainerDefinition",
|
741 741 | ),
|
742 742 | ::aws_smithy_schema::ShapeType::List,
|
743 - | "environment_files",
|
743 + | "environmentFiles",
|
744 744 | 13,
|
745 745 | );
|
746 746 | static CONTAINERDEFINITION_MEMBER_MOUNT_POINTS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
747 747 | ::aws_smithy_schema::ShapeId::from_static(
|
748 748 | "com.amazonaws.ecs#ContainerDefinition$mountPoints",
|
749 749 | "com.amazonaws.ecs",
|
750 750 | "ContainerDefinition",
|
751 751 | ),
|
752 752 | ::aws_smithy_schema::ShapeType::List,
|
753 - | "mount_points",
|
753 + | "mountPoints",
|
754 754 | 14,
|
755 755 | );
|
756 756 | static CONTAINERDEFINITION_MEMBER_VOLUMES_FROM: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
757 757 | ::aws_smithy_schema::ShapeId::from_static(
|
758 758 | "com.amazonaws.ecs#ContainerDefinition$volumesFrom",
|
759 759 | "com.amazonaws.ecs",
|
760 760 | "ContainerDefinition",
|
761 761 | ),
|
762 762 | ::aws_smithy_schema::ShapeType::List,
|
763 - | "volumes_from",
|
763 + | "volumesFrom",
|
764 764 | 15,
|
765 765 | );
|
766 766 | static CONTAINERDEFINITION_MEMBER_LINUX_PARAMETERS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
767 767 | ::aws_smithy_schema::ShapeId::from_static(
|
768 768 | "com.amazonaws.ecs#ContainerDefinition$linuxParameters",
|
769 769 | "com.amazonaws.ecs",
|
770 770 | "ContainerDefinition",
|
771 771 | ),
|
772 772 | ::aws_smithy_schema::ShapeType::Structure,
|
773 - | "linux_parameters",
|
773 + | "linuxParameters",
|
774 774 | 16,
|
775 775 | );
|
776 776 | static CONTAINERDEFINITION_MEMBER_SECRETS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
777 777 | ::aws_smithy_schema::ShapeId::from_static(
|
778 778 | "com.amazonaws.ecs#ContainerDefinition$secrets",
|
779 779 | "com.amazonaws.ecs",
|
780 780 | "ContainerDefinition",
|
781 781 | ),
|
782 782 | ::aws_smithy_schema::ShapeType::List,
|
783 783 | "secrets",
|
784 784 | 17,
|
785 785 | );
|
786 786 | static CONTAINERDEFINITION_MEMBER_DEPENDS_ON: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
787 787 | ::aws_smithy_schema::ShapeId::from_static(
|
788 788 | "com.amazonaws.ecs#ContainerDefinition$dependsOn",
|
789 789 | "com.amazonaws.ecs",
|
790 790 | "ContainerDefinition",
|
791 791 | ),
|
792 792 | ::aws_smithy_schema::ShapeType::List,
|
793 - | "depends_on",
|
793 + | "dependsOn",
|
794 794 | 18,
|
795 795 | );
|
796 796 | static CONTAINERDEFINITION_MEMBER_START_TIMEOUT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
797 797 | ::aws_smithy_schema::ShapeId::from_static(
|
798 798 | "com.amazonaws.ecs#ContainerDefinition$startTimeout",
|
799 799 | "com.amazonaws.ecs",
|
800 800 | "ContainerDefinition",
|
801 801 | ),
|
802 802 | ::aws_smithy_schema::ShapeType::Integer,
|
803 - | "start_timeout",
|
803 + | "startTimeout",
|
804 804 | 19,
|
805 805 | );
|
806 806 | static CONTAINERDEFINITION_MEMBER_STOP_TIMEOUT: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
807 807 | ::aws_smithy_schema::ShapeId::from_static(
|
808 808 | "com.amazonaws.ecs#ContainerDefinition$stopTimeout",
|
809 809 | "com.amazonaws.ecs",
|
810 810 | "ContainerDefinition",
|
811 811 | ),
|
812 812 | ::aws_smithy_schema::ShapeType::Integer,
|
813 - | "stop_timeout",
|
813 + | "stopTimeout",
|
814 814 | 20,
|
815 815 | );
|
816 816 | static CONTAINERDEFINITION_MEMBER_VERSION_CONSISTENCY: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
817 817 | ::aws_smithy_schema::ShapeId::from_static(
|
818 818 | "com.amazonaws.ecs#ContainerDefinition$versionConsistency",
|
819 819 | "com.amazonaws.ecs",
|
820 820 | "ContainerDefinition",
|
821 821 | ),
|
822 822 | ::aws_smithy_schema::ShapeType::String,
|
823 - | "version_consistency",
|
823 + | "versionConsistency",
|
824 824 | 21,
|
825 825 | );
|
826 826 | static CONTAINERDEFINITION_MEMBER_HOSTNAME: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
827 827 | ::aws_smithy_schema::ShapeId::from_static(
|
828 828 | "com.amazonaws.ecs#ContainerDefinition$hostname",
|
829 829 | "com.amazonaws.ecs",
|
830 830 | "ContainerDefinition",
|
831 831 | ),
|
832 832 | ::aws_smithy_schema::ShapeType::String,
|
833 833 | "hostname",
|
834 834 | 22,
|
835 835 | );
|
836 836 | static CONTAINERDEFINITION_MEMBER_USER: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
837 837 | ::aws_smithy_schema::ShapeId::from_static("com.amazonaws.ecs#ContainerDefinition$user", "com.amazonaws.ecs", "ContainerDefinition"),
|
838 838 | ::aws_smithy_schema::ShapeType::String,
|
839 839 | "user",
|
840 840 | 23,
|
841 841 | );
|
842 842 | static CONTAINERDEFINITION_MEMBER_WORKING_DIRECTORY: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
843 843 | ::aws_smithy_schema::ShapeId::from_static(
|
844 844 | "com.amazonaws.ecs#ContainerDefinition$workingDirectory",
|
845 845 | "com.amazonaws.ecs",
|
846 846 | "ContainerDefinition",
|
847 847 | ),
|
848 848 | ::aws_smithy_schema::ShapeType::String,
|
849 - | "working_directory",
|
849 + | "workingDirectory",
|
850 850 | 24,
|
851 851 | );
|
852 852 | static CONTAINERDEFINITION_MEMBER_DISABLE_NETWORKING: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
853 853 | ::aws_smithy_schema::ShapeId::from_static(
|
854 854 | "com.amazonaws.ecs#ContainerDefinition$disableNetworking",
|
855 855 | "com.amazonaws.ecs",
|
856 856 | "ContainerDefinition",
|
857 857 | ),
|
858 858 | ::aws_smithy_schema::ShapeType::Boolean,
|
859 - | "disable_networking",
|
859 + | "disableNetworking",
|
860 860 | 25,
|
861 861 | );
|
862 862 | static CONTAINERDEFINITION_MEMBER_PRIVILEGED: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
863 863 | ::aws_smithy_schema::ShapeId::from_static(
|
864 864 | "com.amazonaws.ecs#ContainerDefinition$privileged",
|
865 865 | "com.amazonaws.ecs",
|
866 866 | "ContainerDefinition",
|
867 867 | ),
|
868 868 | ::aws_smithy_schema::ShapeType::Boolean,
|
869 869 | "privileged",
|
870 870 | 26,
|
871 871 | );
|
872 872 | static CONTAINERDEFINITION_MEMBER_READONLY_ROOT_FILESYSTEM: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
873 873 | ::aws_smithy_schema::ShapeId::from_static(
|
874 874 | "com.amazonaws.ecs#ContainerDefinition$readonlyRootFilesystem",
|
875 875 | "com.amazonaws.ecs",
|
876 876 | "ContainerDefinition",
|
877 877 | ),
|
878 878 | ::aws_smithy_schema::ShapeType::Boolean,
|
879 - | "readonly_root_filesystem",
|
879 + | "readonlyRootFilesystem",
|
880 880 | 27,
|
881 881 | );
|
882 882 | static CONTAINERDEFINITION_MEMBER_DNS_SERVERS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
883 883 | ::aws_smithy_schema::ShapeId::from_static(
|
884 884 | "com.amazonaws.ecs#ContainerDefinition$dnsServers",
|
885 885 | "com.amazonaws.ecs",
|
886 886 | "ContainerDefinition",
|
887 887 | ),
|
888 888 | ::aws_smithy_schema::ShapeType::List,
|
889 - | "dns_servers",
|
889 + | "dnsServers",
|
890 890 | 28,
|
891 891 | );
|
892 892 | static CONTAINERDEFINITION_MEMBER_DNS_SEARCH_DOMAINS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
893 893 | ::aws_smithy_schema::ShapeId::from_static(
|
894 894 | "com.amazonaws.ecs#ContainerDefinition$dnsSearchDomains",
|
895 895 | "com.amazonaws.ecs",
|
896 896 | "ContainerDefinition",
|
897 897 | ),
|
898 898 | ::aws_smithy_schema::ShapeType::List,
|
899 - | "dns_search_domains",
|
899 + | "dnsSearchDomains",
|
900 900 | 29,
|
901 901 | );
|
902 902 | static CONTAINERDEFINITION_MEMBER_EXTRA_HOSTS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
903 903 | ::aws_smithy_schema::ShapeId::from_static(
|
904 904 | "com.amazonaws.ecs#ContainerDefinition$extraHosts",
|
905 905 | "com.amazonaws.ecs",
|
906 906 | "ContainerDefinition",
|
907 907 | ),
|
908 908 | ::aws_smithy_schema::ShapeType::List,
|
909 - | "extra_hosts",
|
909 + | "extraHosts",
|
910 910 | 30,
|
911 911 | );
|
912 912 | static CONTAINERDEFINITION_MEMBER_DOCKER_SECURITY_OPTIONS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
913 913 | ::aws_smithy_schema::ShapeId::from_static(
|
914 914 | "com.amazonaws.ecs#ContainerDefinition$dockerSecurityOptions",
|
915 915 | "com.amazonaws.ecs",
|
916 916 | "ContainerDefinition",
|
917 917 | ),
|
918 918 | ::aws_smithy_schema::ShapeType::List,
|
919 - | "docker_security_options",
|
919 + | "dockerSecurityOptions",
|
920 920 | 31,
|
921 921 | );
|
922 922 | static CONTAINERDEFINITION_MEMBER_INTERACTIVE: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
923 923 | ::aws_smithy_schema::ShapeId::from_static(
|
924 924 | "com.amazonaws.ecs#ContainerDefinition$interactive",
|
925 925 | "com.amazonaws.ecs",
|
926 926 | "ContainerDefinition",
|
927 927 | ),
|
928 928 | ::aws_smithy_schema::ShapeType::Boolean,
|
929 929 | "interactive",
|
930 930 | 32,
|
931 931 | );
|
932 932 | static CONTAINERDEFINITION_MEMBER_PSEUDO_TERMINAL: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
933 933 | ::aws_smithy_schema::ShapeId::from_static(
|
934 934 | "com.amazonaws.ecs#ContainerDefinition$pseudoTerminal",
|
935 935 | "com.amazonaws.ecs",
|
936 936 | "ContainerDefinition",
|
937 937 | ),
|
938 938 | ::aws_smithy_schema::ShapeType::Boolean,
|
939 - | "pseudo_terminal",
|
939 + | "pseudoTerminal",
|
940 940 | 33,
|
941 941 | );
|
942 942 | static CONTAINERDEFINITION_MEMBER_DOCKER_LABELS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
943 943 | ::aws_smithy_schema::ShapeId::from_static(
|
944 944 | "com.amazonaws.ecs#ContainerDefinition$dockerLabels",
|
945 945 | "com.amazonaws.ecs",
|
946 946 | "ContainerDefinition",
|
947 947 | ),
|
948 948 | ::aws_smithy_schema::ShapeType::Map,
|
949 - | "docker_labels",
|
949 + | "dockerLabels",
|
950 950 | 34,
|
951 951 | );
|
952 952 | static CONTAINERDEFINITION_MEMBER_ULIMITS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
953 953 | ::aws_smithy_schema::ShapeId::from_static(
|
954 954 | "com.amazonaws.ecs#ContainerDefinition$ulimits",
|
955 955 | "com.amazonaws.ecs",
|
956 956 | "ContainerDefinition",
|
957 957 | ),
|
958 958 | ::aws_smithy_schema::ShapeType::List,
|
959 959 | "ulimits",
|
960 960 | 35,
|
961 961 | );
|
962 962 | static CONTAINERDEFINITION_MEMBER_LOG_CONFIGURATION: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
963 963 | ::aws_smithy_schema::ShapeId::from_static(
|
964 964 | "com.amazonaws.ecs#ContainerDefinition$logConfiguration",
|
965 965 | "com.amazonaws.ecs",
|
966 966 | "ContainerDefinition",
|
967 967 | ),
|
968 968 | ::aws_smithy_schema::ShapeType::Structure,
|
969 - | "log_configuration",
|
969 + | "logConfiguration",
|
970 970 | 36,
|
971 971 | );
|
972 972 | static CONTAINERDEFINITION_MEMBER_HEALTH_CHECK: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
973 973 | ::aws_smithy_schema::ShapeId::from_static(
|
974 974 | "com.amazonaws.ecs#ContainerDefinition$healthCheck",
|
975 975 | "com.amazonaws.ecs",
|
976 976 | "ContainerDefinition",
|
977 977 | ),
|
978 978 | ::aws_smithy_schema::ShapeType::Structure,
|
979 - | "health_check",
|
979 + | "healthCheck",
|
980 980 | 37,
|
981 981 | );
|
982 982 | static CONTAINERDEFINITION_MEMBER_SYSTEM_CONTROLS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
983 983 | ::aws_smithy_schema::ShapeId::from_static(
|
984 984 | "com.amazonaws.ecs#ContainerDefinition$systemControls",
|
985 985 | "com.amazonaws.ecs",
|
986 986 | "ContainerDefinition",
|
987 987 | ),
|
988 988 | ::aws_smithy_schema::ShapeType::List,
|
989 - | "system_controls",
|
989 + | "systemControls",
|
990 990 | 38,
|
991 991 | );
|
992 992 | static CONTAINERDEFINITION_MEMBER_RESOURCE_REQUIREMENTS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
993 993 | ::aws_smithy_schema::ShapeId::from_static(
|
994 994 | "com.amazonaws.ecs#ContainerDefinition$resourceRequirements",
|
995 995 | "com.amazonaws.ecs",
|
996 996 | "ContainerDefinition",
|
997 997 | ),
|
998 998 | ::aws_smithy_schema::ShapeType::List,
|
999 - | "resource_requirements",
|
999 + | "resourceRequirements",
|
1000 1000 | 39,
|
1001 1001 | );
|
1002 1002 | static CONTAINERDEFINITION_MEMBER_FIRELENS_CONFIGURATION: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
1003 1003 | ::aws_smithy_schema::ShapeId::from_static(
|
1004 1004 | "com.amazonaws.ecs#ContainerDefinition$firelensConfiguration",
|
1005 1005 | "com.amazonaws.ecs",
|
1006 1006 | "ContainerDefinition",
|
1007 1007 | ),
|
1008 1008 | ::aws_smithy_schema::ShapeType::Structure,
|
1009 - | "firelens_configuration",
|
1009 + | "firelensConfiguration",
|
1010 1010 | 40,
|
1011 1011 | );
|
1012 1012 | static CONTAINERDEFINITION_MEMBER_CREDENTIAL_SPECS: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_member(
|
1013 1013 | ::aws_smithy_schema::ShapeId::from_static(
|
1014 1014 | "com.amazonaws.ecs#ContainerDefinition$credentialSpecs",
|
1015 1015 | "com.amazonaws.ecs",
|
1016 1016 | "ContainerDefinition",
|
1017 1017 | ),
|
1018 1018 | ::aws_smithy_schema::ShapeType::List,
|
1019 - | "credential_specs",
|
1019 + | "credentialSpecs",
|
1020 1020 | 41,
|
1021 1021 | );
|
1022 1022 | static CONTAINERDEFINITION_SCHEMA: ::aws_smithy_schema::Schema = ::aws_smithy_schema::Schema::new_struct(
|
1023 1023 | CONTAINERDEFINITION_SCHEMA_ID,
|
1024 1024 | ::aws_smithy_schema::ShapeType::Structure,
|
1025 1025 | &[
|
1026 1026 | &CONTAINERDEFINITION_MEMBER_NAME,
|
1027 1027 | &CONTAINERDEFINITION_MEMBER_IMAGE,
|
1028 1028 | &CONTAINERDEFINITION_MEMBER_REPOSITORY_CREDENTIALS,
|
1029 1029 | &CONTAINERDEFINITION_MEMBER_CPU,
|
1355 1355 | }
|
1356 1356 | Ok(())
|
1357 1357 | },
|
1358 1358 | )?;
|
1359 1359 | }
|
1360 1360 | Ok(())
|
1361 1361 | }
|
1362 1362 | }
|
1363 1363 | impl ContainerDefinition {
|
1364 1364 | /// Deserializes this structure from a [`ShapeDeserializer`].
|
1365 - | pub fn deserialize<D: ::aws_smithy_schema::serde::ShapeDeserializer>(
|
1366 - | deserializer: &mut D,
|
1365 + | pub fn deserialize(
|
1366 + | deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
|
1367 1367 | ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
|
1368 1368 | #[allow(unused_variables, unused_mut)]
|
1369 1369 | let mut builder = Self::builder();
|
1370 1370 | #[allow(
|
1371 1371 | unused_variables,
|
1372 1372 | unreachable_code,
|
1373 1373 | clippy::single_match,
|
1374 1374 | clippy::match_single_binding,
|
1375 1375 | clippy::diverging_sub_expression
|
1376 1376 | )]
|
1377 - | deserializer.read_struct(&CONTAINERDEFINITION_SCHEMA, (), |_, member, deser| {
|
1377 + | deserializer.read_struct(&CONTAINERDEFINITION_SCHEMA, &mut |member, deser| {
|
1378 1378 | match member.member_index() {
|
1379 1379 | Some(0) => {
|
1380 1380 | builder.name = Some(deser.read_string(member)?);
|
1381 1381 | }
|
1382 1382 | Some(1) => {
|
1383 1383 | builder.image = Some(deser.read_string(member)?);
|
1384 1384 | }
|
1385 1385 | Some(2) => {
|
1386 1386 | builder.repository_credentials = Some(crate::types::RepositoryCredentials::deserialize(deser)?);
|
1387 1387 | }
|
1388 1388 | Some(3) => {
|
1389 1389 | builder.cpu = Some(deser.read_integer(member)?);
|
1390 1390 | }
|
1391 1391 | Some(4) => {
|
1392 1392 | builder.memory = Some(deser.read_integer(member)?);
|
1393 1393 | }
|
1394 1394 | Some(5) => {
|
1395 1395 | builder.memory_reservation = Some(deser.read_integer(member)?);
|
1396 1396 | }
|
1397 1397 | Some(6) => {
|
1398 - | builder.links = Some({
|
1399 - | let container = if let Some(cap) = deser.container_size() {
|
1400 - | Vec::with_capacity(cap)
|
1401 - | } else {
|
1402 - | Vec::new()
|
1403 - | };
|
1404 - | deser.read_list(member, container, |mut list, deser| {
|
1405 - | list.push(deser.read_string(member)?);
|
1406 - | Ok(list)
|
1407 - | })?
|
1408 - | });
|
1398 + | builder.links = Some(deser.read_string_list(member)?);
|
1409 1399 | }
|
1410 1400 | Some(7) => {
|
1411 1401 | builder.port_mappings = Some({
|
1412 - | let container = if let Some(cap) = deser.container_size() {
|
1413 - | Vec::with_capacity(cap)
|
1414 - | } else {
|
1415 - | Vec::new()
|
1416 - | };
|
1417 - | deser.read_list(member, container, |mut list, deser| {
|
1418 - | list.push(crate::types::PortMapping::deserialize(deser)?);
|
1419 - | Ok(list)
|
1420 - | })?
|
1402 + | let mut container = Vec::new();
|
1403 + | deser.read_list(member, &mut |deser| {
|
1404 + | container.push(crate::types::PortMapping::deserialize(deser)?);
|
1405 + | Ok(())
|
1406 + | })?;
|
1407 + | container
|
1421 1408 | });
|
1422 1409 | }
|
1423 1410 | Some(8) => {
|
1424 1411 | builder.essential = Some(deser.read_boolean(member)?);
|
1425 1412 | }
|
1426 1413 | Some(9) => {
|
1427 1414 | builder.restart_policy = Some(crate::types::ContainerRestartPolicy::deserialize(deser)?);
|
1428 1415 | }
|
1429 1416 | Some(10) => {
|
1430 - | builder.entry_point = Some({
|
1431 - | let container = if let Some(cap) = deser.container_size() {
|
1432 - | Vec::with_capacity(cap)
|
1433 - | } else {
|
1434 - | Vec::new()
|
1435 - | };
|
1436 - | deser.read_list(member, container, |mut list, deser| {
|
1437 - | list.push(deser.read_string(member)?);
|
1438 - | Ok(list)
|
1439 - | })?
|
1440 - | });
|
1417 + | builder.entry_point = Some(deser.read_string_list(member)?);
|
1441 1418 | }
|
1442 1419 | Some(11) => {
|
1443 - | builder.command = Some({
|
1444 - | let container = if let Some(cap) = deser.container_size() {
|
1445 - | Vec::with_capacity(cap)
|
1446 - | } else {
|
1447 - | Vec::new()
|
1448 - | };
|
1449 - | deser.read_list(member, container, |mut list, deser| {
|
1450 - | list.push(deser.read_string(member)?);
|
1451 - | Ok(list)
|
1452 - | })?
|
1453 - | });
|
1420 + | builder.command = Some(deser.read_string_list(member)?);
|
1454 1421 | }
|
1455 1422 | Some(12) => {
|
1456 1423 | builder.environment = Some({
|
1457 - | let container = if let Some(cap) = deser.container_size() {
|
1458 - | Vec::with_capacity(cap)
|
1459 - | } else {
|
1460 - | Vec::new()
|
1461 - | };
|
1462 - | deser.read_list(member, container, |mut list, deser| {
|
1463 - | list.push(crate::types::KeyValuePair::deserialize(deser)?);
|
1464 - | Ok(list)
|
1465 - | })?
|
1424 + | let mut container = Vec::new();
|
1425 + | deser.read_list(member, &mut |deser| {
|
1426 + | container.push(crate::types::KeyValuePair::deserialize(deser)?);
|
1427 + | Ok(())
|
1428 + | })?;
|
1429 + | container
|
1466 1430 | });
|
1467 1431 | }
|
1468 1432 | Some(13) => {
|
1469 1433 | builder.environment_files = Some({
|
1470 - | let container = if let Some(cap) = deser.container_size() {
|
1471 - | Vec::with_capacity(cap)
|
1472 - | } else {
|
1473 - | Vec::new()
|
1474 - | };
|
1475 - | deser.read_list(member, container, |mut list, deser| {
|
1476 - | list.push(crate::types::EnvironmentFile::deserialize(deser)?);
|
1477 - | Ok(list)
|
1478 - | })?
|
1434 + | let mut container = Vec::new();
|
1435 + | deser.read_list(member, &mut |deser| {
|
1436 + | container.push(crate::types::EnvironmentFile::deserialize(deser)?);
|
1437 + | Ok(())
|
1438 + | })?;
|
1439 + | container
|
1479 1440 | });
|
1480 1441 | }
|
1481 1442 | Some(14) => {
|
1482 1443 | builder.mount_points = Some({
|
1483 - | let container = if let Some(cap) = deser.container_size() {
|
1484 - | Vec::with_capacity(cap)
|
1485 - | } else {
|
1486 - | Vec::new()
|
1487 - | };
|
1488 - | deser.read_list(member, container, |mut list, deser| {
|
1489 - | list.push(crate::types::MountPoint::deserialize(deser)?);
|
1490 - | Ok(list)
|
1491 - | })?
|
1444 + | let mut container = Vec::new();
|
1445 + | deser.read_list(member, &mut |deser| {
|
1446 + | container.push(crate::types::MountPoint::deserialize(deser)?);
|
1447 + | Ok(())
|
1448 + | })?;
|
1449 + | container
|
1492 1450 | });
|
1493 1451 | }
|
1494 1452 | Some(15) => {
|
1495 1453 | builder.volumes_from = Some({
|
1496 - | let container = if let Some(cap) = deser.container_size() {
|
1497 - | Vec::with_capacity(cap)
|
1498 - | } else {
|
1499 - | Vec::new()
|
1500 - | };
|
1501 - | deser.read_list(member, container, |mut list, deser| {
|
1502 - | list.push(crate::types::VolumeFrom::deserialize(deser)?);
|
1503 - | Ok(list)
|
1504 - | })?
|
1454 + | let mut container = Vec::new();
|
1455 + | deser.read_list(member, &mut |deser| {
|
1456 + | container.push(crate::types::VolumeFrom::deserialize(deser)?);
|
1457 + | Ok(())
|
1458 + | })?;
|
1459 + | container
|
1505 1460 | });
|
1506 1461 | }
|
1507 1462 | Some(16) => {
|
1508 1463 | builder.linux_parameters = Some(crate::types::LinuxParameters::deserialize(deser)?);
|
1509 1464 | }
|
1510 1465 | Some(17) => {
|
1511 1466 | builder.secrets = Some({
|
1512 - | let container = if let Some(cap) = deser.container_size() {
|
1513 - | Vec::with_capacity(cap)
|
1514 - | } else {
|
1515 - | Vec::new()
|
1516 - | };
|
1517 - | deser.read_list(member, container, |mut list, deser| {
|
1518 - | list.push(crate::types::Secret::deserialize(deser)?);
|
1519 - | Ok(list)
|
1520 - | })?
|
1467 + | let mut container = Vec::new();
|
1468 + | deser.read_list(member, &mut |deser| {
|
1469 + | container.push(crate::types::Secret::deserialize(deser)?);
|
1470 + | Ok(())
|
1471 + | })?;
|
1472 + | container
|
1521 1473 | });
|
1522 1474 | }
|
1523 1475 | Some(18) => {
|
1524 1476 | builder.depends_on = Some({
|
1525 - | let container = if let Some(cap) = deser.container_size() {
|
1526 - | Vec::with_capacity(cap)
|
1527 - | } else {
|
1528 - | Vec::new()
|
1529 - | };
|
1530 - | deser.read_list(member, container, |mut list, deser| {
|
1531 - | list.push(crate::types::ContainerDependency::deserialize(deser)?);
|
1532 - | Ok(list)
|
1533 - | })?
|
1477 + | let mut container = Vec::new();
|
1478 + | deser.read_list(member, &mut |deser| {
|
1479 + | container.push(crate::types::ContainerDependency::deserialize(deser)?);
|
1480 + | Ok(())
|
1481 + | })?;
|
1482 + | container
|
1534 1483 | });
|
1535 1484 | }
|
1536 1485 | Some(19) => {
|
1537 1486 | builder.start_timeout = Some(deser.read_integer(member)?);
|
1538 1487 | }
|
1539 1488 | Some(20) => {
|
1540 1489 | builder.stop_timeout = Some(deser.read_integer(member)?);
|
1541 1490 | }
|
1542 1491 | Some(21) => {
|
1543 1492 | builder.version_consistency = Some(crate::types::VersionConsistency::from(deser.read_string(member)?.as_str()));
|
1544 1493 | }
|
1545 1494 | Some(22) => {
|
1546 1495 | builder.hostname = Some(deser.read_string(member)?);
|
1547 1496 | }
|
1548 1497 | Some(23) => {
|
1549 1498 | builder.user = Some(deser.read_string(member)?);
|
1550 1499 | }
|
1551 1500 | Some(24) => {
|
1552 1501 | builder.working_directory = Some(deser.read_string(member)?);
|
1553 1502 | }
|
1554 1503 | Some(25) => {
|
1555 1504 | builder.disable_networking = Some(deser.read_boolean(member)?);
|
1556 1505 | }
|
1557 1506 | Some(26) => {
|
1558 1507 | builder.privileged = Some(deser.read_boolean(member)?);
|
1559 1508 | }
|
1560 1509 | Some(27) => {
|
1561 1510 | builder.readonly_root_filesystem = Some(deser.read_boolean(member)?);
|
1562 1511 | }
|
1563 1512 | Some(28) => {
|
1564 - | builder.dns_servers = Some({
|
1565 - | let container = if let Some(cap) = deser.container_size() {
|
1566 - | Vec::with_capacity(cap)
|
1567 - | } else {
|
1568 - | Vec::new()
|
1569 - | };
|
1570 - | deser.read_list(member, container, |mut list, deser| {
|
1571 - | list.push(deser.read_string(member)?);
|
1572 - | Ok(list)
|
1573 - | })?
|
1574 - | });
|
1513 + | builder.dns_servers = Some(deser.read_string_list(member)?);
|
1575 1514 | }
|
1576 1515 | Some(29) => {
|
1577 - | builder.dns_search_domains = Some({
|
1578 - | let container = if let Some(cap) = deser.container_size() {
|
1579 - | Vec::with_capacity(cap)
|
1580 - | } else {
|
1581 - | Vec::new()
|
1582 - | };
|
1583 - | deser.read_list(member, container, |mut list, deser| {
|
1584 - | list.push(deser.read_string(member)?);
|
1585 - | Ok(list)
|
1586 - | })?
|
1587 - | });
|
1516 + | builder.dns_search_domains = Some(deser.read_string_list(member)?);
|
1588 1517 | }
|
1589 1518 | Some(30) => {
|
1590 1519 | builder.extra_hosts = Some({
|
1591 - | let container = if let Some(cap) = deser.container_size() {
|
1592 - | Vec::with_capacity(cap)
|
1593 - | } else {
|
1594 - | Vec::new()
|
1595 - | };
|
1596 - | deser.read_list(member, container, |mut list, deser| {
|
1597 - | list.push(crate::types::HostEntry::deserialize(deser)?);
|
1598 - | Ok(list)
|
1599 - | })?
|
1520 + | let mut container = Vec::new();
|
1521 + | deser.read_list(member, &mut |deser| {
|
1522 + | container.push(crate::types::HostEntry::deserialize(deser)?);
|
1523 + | Ok(())
|
1524 + | })?;
|
1525 + | container
|
1600 1526 | });
|
1601 1527 | }
|
1602 1528 | Some(31) => {
|
1603 - | builder.docker_security_options = Some({
|
1604 - | let container = if let Some(cap) = deser.container_size() {
|
1605 - | Vec::with_capacity(cap)
|
1606 - | } else {
|
1607 - | Vec::new()
|
1608 - | };
|
1609 - | deser.read_list(member, container, |mut list, deser| {
|
1610 - | list.push(deser.read_string(member)?);
|
1611 - | Ok(list)
|
1612 - | })?
|
1613 - | });
|
1529 + | builder.docker_security_options = Some(deser.read_string_list(member)?);
|
1614 1530 | }
|
1615 1531 | Some(32) => {
|
1616 1532 | builder.interactive = Some(deser.read_boolean(member)?);
|
1617 1533 | }
|
1618 1534 | Some(33) => {
|
1619 1535 | builder.pseudo_terminal = Some(deser.read_boolean(member)?);
|
1620 1536 | }
|
1621 1537 | Some(34) => {
|
1622 - | builder.docker_labels = Some({
|
1623 - | let container = if let Some(cap) = deser.container_size() {
|
1624 - | std::collections::HashMap::with_capacity(cap)
|
1625 - | } else {
|
1626 - | std::collections::HashMap::new()
|
1627 - | };
|
1628 - | deser.read_map(member, container, |mut map, key, deser| {
|
1629 - | map.insert(key, deser.read_string(member)?);
|
1630 - | Ok(map)
|
1631 - | })?
|
1632 - | });
|
1538 + | builder.docker_labels = Some(deser.read_string_string_map(member)?);
|
1633 1539 | }
|
1634 1540 | Some(35) => {
|
1635 1541 | builder.ulimits = Some({
|
1636 - | let container = if let Some(cap) = deser.container_size() {
|
1637 - | Vec::with_capacity(cap)
|
1638 - | } else {
|
1639 - | Vec::new()
|
1640 - | };
|
1641 - | deser.read_list(member, container, |mut list, deser| {
|
1642 - | list.push(crate::types::Ulimit::deserialize(deser)?);
|
1643 - | Ok(list)
|
1644 - | })?
|
1542 + | let mut container = Vec::new();
|
1543 + | deser.read_list(member, &mut |deser| {
|
1544 + | container.push(crate::types::Ulimit::deserialize(deser)?);
|
1545 + | Ok(())
|
1546 + | })?;
|
1547 + | container
|
1645 1548 | });
|
1646 1549 | }
|
1647 1550 | Some(36) => {
|
1648 1551 | builder.log_configuration = Some(crate::types::LogConfiguration::deserialize(deser)?);
|
1649 1552 | }
|
1650 1553 | Some(37) => {
|
1651 1554 | builder.health_check = Some(crate::types::HealthCheck::deserialize(deser)?);
|
1652 1555 | }
|
1653 1556 | Some(38) => {
|
1654 1557 | builder.system_controls = Some({
|
1655 - | let container = if let Some(cap) = deser.container_size() {
|
1656 - | Vec::with_capacity(cap)
|
1657 - | } else {
|
1658 - | Vec::new()
|
1659 - | };
|
1660 - | deser.read_list(member, container, |mut list, deser| {
|
1661 - | list.push(crate::types::SystemControl::deserialize(deser)?);
|
1662 - | Ok(list)
|
1663 - | })?
|
1558 + | let mut container = Vec::new();
|
1559 + | deser.read_list(member, &mut |deser| {
|
1560 + | container.push(crate::types::SystemControl::deserialize(deser)?);
|
1561 + | Ok(())
|
1562 + | })?;
|
1563 + | container
|
1664 1564 | });
|
1665 1565 | }
|
1666 1566 | Some(39) => {
|
1667 1567 | builder.resource_requirements = Some({
|
1668 - | let container = if let Some(cap) = deser.container_size() {
|
1669 - | Vec::with_capacity(cap)
|
1670 - | } else {
|
1671 - | Vec::new()
|
1672 - | };
|
1673 - | deser.read_list(member, container, |mut list, deser| {
|
1674 - | list.push(crate::types::ResourceRequirement::deserialize(deser)?);
|
1675 - | Ok(list)
|
1676 - | })?
|
1568 + | let mut container = Vec::new();
|
1569 + | deser.read_list(member, &mut |deser| {
|
1570 + | container.push(crate::types::ResourceRequirement::deserialize(deser)?);
|
1571 + | Ok(())
|
1572 + | })?;
|
1573 + | container
|
1677 1574 | });
|
1678 1575 | }
|
1679 1576 | Some(40) => {
|
1680 1577 | builder.firelens_configuration = Some(crate::types::FirelensConfiguration::deserialize(deser)?);
|
1681 1578 | }
|
1682 1579 | Some(41) => {
|
1683 - | builder.credential_specs = Some({
|
1684 - | let container = if let Some(cap) = deser.container_size() {
|
1685 - | Vec::with_capacity(cap)
|
1686 - | } else {
|
1687 - | Vec::new()
|
1688 - | };
|
1689 - | deser.read_list(member, container, |mut list, deser| {
|
1690 - | list.push(deser.read_string(member)?);
|
1691 - | Ok(list)
|
1692 - | })?
|
1693 - | });
|
1580 + | builder.credential_specs = Some(deser.read_string_list(member)?);
|
1694 1581 | }
|
1695 1582 | _ => {}
|
1696 1583 | }
|
1697 1584 | Ok(())
|
1698 1585 | })?;
|
1699 1586 | Ok(builder.build())
|
1700 1587 | }
|
1701 1588 | }
|
1589 + | impl ContainerDefinition {
|
1590 + | /// Deserializes this structure from a body deserializer and HTTP response.
|
1591 + | pub fn deserialize_with_response(
|
1592 + | deserializer: &mut dyn ::aws_smithy_schema::serde::ShapeDeserializer,
|
1593 + | _headers: &::aws_smithy_runtime_api::http::Headers,
|
1594 + | _status: u16,
|
1595 + | _body: &[u8],
|
1596 + | ) -> ::std::result::Result<Self, ::aws_smithy_schema::serde::SerdeError> {
|
1597 + | Self::deserialize(deserializer)
|
1598 + | }
|
1599 + | }
|
1702 1600 | impl ContainerDefinition {
|
1703 1601 | /// Creates a new builder-style object to manufacture [`ContainerDefinition`](crate::types::ContainerDefinition).
|
1704 1602 | pub fn builder() -> crate::types::builders::ContainerDefinitionBuilder {
|
1705 1603 | crate::types::builders::ContainerDefinitionBuilder::default()
|
1706 1604 | }
|
1707 1605 | }
|
1708 1606 |
|
1709 1607 | /// A builder for [`ContainerDefinition`](crate::types::ContainerDefinition).
|
1710 1608 | #[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
|
1711 1609 | #[non_exhaustive]
|