@@ -21,7 +21,7 @@ class PutVectorIndexRequest(serde.RequestModel):
2121
2222 def __init__ (
2323 self ,
24- bucket : Optional [ str ] = None ,
24+ bucket : str = None ,
2525 data_type : Optional [str ] = None ,
2626 dimension : Optional [int ] = None ,
2727 distance_metric : Optional [str ] = None ,
@@ -31,7 +31,7 @@ def __init__(
3131 ) -> None :
3232 """
3333 Args:
34- bucket (str, optional ): The name of the bucket.
34+ bucket (str, required ): The name of the bucket.
3535 data_type (str, optional): The type of data for the vector index.
3636 dimension (int, optional): The dimension of the vector data.
3737 distance_metric (str, optional): The distance measurement function has the following optional values:
@@ -62,19 +62,19 @@ class GetVectorIndexRequest(serde.RequestModel):
6262 """
6363
6464 _attribute_map = {
65- 'bucket' : {'tag' : 'input' , 'position' : 'path' , 'rename' : 'bucket' , 'type' : 'str' },
65+ 'bucket' : {'tag' : 'input' , 'position' : 'path' , 'rename' : 'bucket' , 'type' : 'str' , "required" : True },
6666 'index_name' : {'tag' : 'input' , 'position' : 'body' , 'rename' : 'indexName' , 'type' : 'str' },
6767 }
6868
6969 def __init__ (
7070 self ,
71- bucket : Optional [ str ] = None ,
71+ bucket : str = None ,
7272 index_name : Optional [str ] = None ,
7373 ** kwargs : Any
7474 ) -> None :
7575 """
7676 Args:
77- bucket (str, optional ): The name of the bucket.
77+ bucket (str, required ): The name of the bucket.
7878 index_name (str, optional): The name of the index.
7979 """
8080 super ().__init__ (** kwargs )
@@ -112,23 +112,23 @@ class ListVectorIndexesRequest(serde.RequestModel):
112112 """
113113
114114 _attribute_map = {
115- 'bucket' : {'tag' : 'input' , 'position' : 'path' , 'rename' : 'bucket' , 'type' : 'str' },
115+ 'bucket' : {'tag' : 'input' , 'position' : 'path' , 'rename' : 'bucket' , 'type' : 'str' , "required" : True },
116116 'max_results' : {'tag' : 'input' , 'position' : 'body' , 'rename' : 'maxResults' , 'type' : 'int' },
117117 'next_token' : {'tag' : 'input' , 'position' : 'body' , 'rename' : 'nextToken' , 'type' : 'str' },
118118 'prefix' : {'tag' : 'input' , 'position' : 'body' , 'rename' : 'prefix' , 'type' : 'str' },
119119 }
120120
121121 def __init__ (
122122 self ,
123- bucket : Optional [ str ] = None ,
123+ bucket : str = None ,
124124 max_results : Optional [int ] = None ,
125125 next_token : Optional [str ] = None ,
126126 prefix : Optional [str ] = None ,
127127 ** kwargs : Any
128128 ) -> None :
129129 """
130130 Args:
131- bucket (str, optional ): The name of the bucket.
131+ bucket (str, required ): The name of the bucket.
132132 max_results (int, optional): The maximum number of indexes to return.
133133 next_token (str, optional): The token for the next page of indexes.
134134 prefix (str, optional): The prefix to filter indexes by name.
@@ -174,19 +174,19 @@ class DeleteVectorIndexRequest(serde.RequestModel):
174174 """
175175
176176 _attribute_map = {
177- 'bucket' : {'tag' : 'input' , 'position' : 'path' , 'rename' : 'bucket' , 'type' : 'str' },
177+ 'bucket' : {'tag' : 'input' , 'position' : 'path' , 'rename' : 'bucket' , 'type' : 'str' , "required" : True },
178178 'index_name' : {'tag' : 'input' , 'position' : 'body' , 'rename' : 'indexName' , 'type' : 'str' },
179179 }
180180
181181 def __init__ (
182182 self ,
183- bucket : Optional [ str ] = None ,
183+ bucket : str = None ,
184184 index_name : Optional [str ] = None ,
185185 ** kwargs : Any
186186 ) -> None :
187187 """
188188 Args:
189- bucket (str, optional ): The name of the bucket.
189+ bucket (str, required ): The name of the bucket.
190190 index_name (str, optional): The name of the index to delete.
191191 """
192192 super ().__init__ (** kwargs )
0 commit comments