@@ -84,7 +84,6 @@ class InstanceParameters(BaseModel):
8484 description = "Comma separated list of IP networks in CIDR notation which are allowed to access this instance." ,
8585 )
8686 syslog : Optional [List [StrictStr ]] = None
87- syslog_use_udp : Optional [StrictStr ] = Field (default = None , alias = "syslog-use-udp" )
8887 __properties : ClassVar [List [str ]] = [
8988 "enable_monitoring" ,
9089 "fluentd-tcp" ,
@@ -109,7 +108,6 @@ class InstanceParameters(BaseModel):
109108 "opensearch-tls-protocols" ,
110109 "sgw_acl" ,
111110 "syslog" ,
112- "syslog-use-udp" ,
113111 ]
114112
115113 @field_validator ("opensearch_tls_ciphers" )
@@ -123,16 +121,6 @@ def opensearch_tls_ciphers_validate_enum(cls, value):
123121 raise ValueError ("each list item must be one of ('TLSv1.2', 'TLSv1.3')" )
124122 return value
125123
126- @field_validator ("syslog_use_udp" )
127- def syslog_use_udp_validate_enum (cls , value ):
128- """Validates the enum"""
129- if value is None :
130- return value
131-
132- if value not in set (["yes" , "no" ]):
133- raise ValueError ("must be one of enum values ('yes', 'no')" )
134- return value
135-
136124 model_config = ConfigDict (
137125 populate_by_name = True ,
138126 validate_assignment = True ,
@@ -223,7 +211,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
223211 "opensearch-tls-protocols" : obj .get ("opensearch-tls-protocols" ),
224212 "sgw_acl" : obj .get ("sgw_acl" ),
225213 "syslog" : obj .get ("syslog" ),
226- "syslog-use-udp" : obj .get ("syslog-use-udp" ),
227214 }
228215 )
229216 return _obj
0 commit comments