|
7 | 7 |
|
8 | 8 | import httpx |
9 | 9 |
|
10 | | -from ..._types import Body, Omit, Query, Headers, NotGiven, omit, not_given |
| 10 | +from ..._types import Body, Omit, Query, Headers, NotGiven, SequenceNotStr, omit, not_given |
11 | 11 | from ..._utils import path_template, maybe_transform, async_maybe_transform |
12 | 12 | from ..._compat import cached_property |
13 | 13 | from .resources import ( |
@@ -203,6 +203,7 @@ def list( |
203 | 203 | ] |
204 | 204 | | Omit = omit, |
205 | 205 | status: Literal["active", "deleting", "deleted"] | Omit = omit, |
| 206 | + tag: SequenceNotStr[str] | Omit = omit, |
206 | 207 | target_type: Literal["account", "organization"] | Omit = omit, |
207 | 208 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
208 | 209 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -235,6 +236,11 @@ def list( |
235 | 236 |
|
236 | 237 | status: Filter shares by status. |
237 | 238 |
|
| 239 | + tag: Filter shares by tag. Each value is either `key=value` (matches shares whose |
| 240 | + tags contain that key/value pair) or `key` alone (matches shares that have any |
| 241 | + value for that key). May be repeated; multiple `tag` parameters are ANDed |
| 242 | + together. Maximum 20 `tag` parameters per request. |
| 243 | +
|
238 | 244 | target_type: Filter shares by target_type. |
239 | 245 |
|
240 | 246 | extra_headers: Send extra headers |
@@ -266,6 +272,7 @@ def list( |
266 | 272 | "per_page": per_page, |
267 | 273 | "resource_types": resource_types, |
268 | 274 | "status": status, |
| 275 | + "tag": tag, |
269 | 276 | "target_type": target_type, |
270 | 277 | }, |
271 | 278 | resource_sharing_list_params.ResourceSharingListParams, |
@@ -531,6 +538,7 @@ def list( |
531 | 538 | ] |
532 | 539 | | Omit = omit, |
533 | 540 | status: Literal["active", "deleting", "deleted"] | Omit = omit, |
| 541 | + tag: SequenceNotStr[str] | Omit = omit, |
534 | 542 | target_type: Literal["account", "organization"] | Omit = omit, |
535 | 543 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. |
536 | 544 | # The extra values given here take precedence over values defined on the client or passed to this method. |
@@ -563,6 +571,11 @@ def list( |
563 | 571 |
|
564 | 572 | status: Filter shares by status. |
565 | 573 |
|
| 574 | + tag: Filter shares by tag. Each value is either `key=value` (matches shares whose |
| 575 | + tags contain that key/value pair) or `key` alone (matches shares that have any |
| 576 | + value for that key). May be repeated; multiple `tag` parameters are ANDed |
| 577 | + together. Maximum 20 `tag` parameters per request. |
| 578 | +
|
566 | 579 | target_type: Filter shares by target_type. |
567 | 580 |
|
568 | 581 | extra_headers: Send extra headers |
@@ -594,6 +607,7 @@ def list( |
594 | 607 | "per_page": per_page, |
595 | 608 | "resource_types": resource_types, |
596 | 609 | "status": status, |
| 610 | + "tag": tag, |
597 | 611 | "target_type": target_type, |
598 | 612 | }, |
599 | 613 | resource_sharing_list_params.ResourceSharingListParams, |
|
0 commit comments