You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from segment_public_api.models.list_audience_consumers_from_space_and_audience200_response import ListAudienceConsumersFromSpaceAndAudience200Response
183
+
from segment_public_api.models.list_audience_consumers_search_input import ListAudienceConsumersSearchInput
184
+
from segment_public_api.models.list_audience_consumers_sort_input import ListAudienceConsumersSortInput
183
185
from segment_public_api.models.pagination_input import PaginationInput
184
186
from segment_public_api.rest import ApiException
185
187
from pprint import pprint
@@ -198,10 +200,12 @@ with segment_public_api.ApiClient(configuration) as api_client:
198
200
space_id ='spaceId'# str |
199
201
id='ReferencedAudienceId'# str |
200
202
pagination = segment_public_api.PaginationInput(count=10) # PaginationInput | Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha. (optional)
203
+
search = segment_public_api.ListAudienceConsumersSearchInput() # ListAudienceConsumersSearchInput | Optional search criteria This parameter exists in alpha. (optional)
204
+
sort = segment_public_api.ListAudienceConsumersSortInput() # ListAudienceConsumersSortInput | Optional sort criteria This parameter exists in alpha. (optional)
print("The response of AudiencesApi->list_audience_consumers_from_space_and_audience:\n")
206
210
pprint(api_response)
207
211
exceptExceptionas e:
@@ -217,6 +221,8 @@ Name | Type | Description | Notes
217
221
**space_id** | **str**| |
218
222
**id** | **str**| |
219
223
**pagination** | [**PaginationInput**](.md)| Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha. | [optional]
224
+
**search** | [**ListAudienceConsumersSearchInput**](.md)| Optional search criteria This parameter exists in alpha. | [optional]
225
+
**sort** | [**ListAudienceConsumersSortInput**](.md)| Optional sort criteria This parameter exists in alpha. | [optional]
deflist_audience_consumers_from_space_and_audience(self, space_id : constr(strict=True), id : constr(strict=True), pagination : Annotated[Optional[PaginationInput], Field(description="Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha.")] =None, **kwargs) ->ListAudienceConsumersFromSpaceAndAudience200Response: # noqa: E501
369
+
deflist_audience_consumers_from_space_and_audience(self, space_id : constr(strict=True), id : constr(strict=True), pagination : Annotated[Optional[PaginationInput], Field(description="Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha.")] =None, search : Annotated[Optional[ListAudienceConsumersSearchInput], Field(description="Optional search criteria This parameter exists in alpha.")] =None, sort : Annotated[Optional[ListAudienceConsumersSortInput], Field(description="Optional sort criteria This parameter exists in alpha.")] =None, **kwargs) ->ListAudienceConsumersFromSpaceAndAudience200Response: # noqa: E501
368
370
"""List Audience Consumers from Space And Audience # noqa: E501
369
371
370
372
Returns the list of consumers for the given audience. • This endpoint is in **Alpha** testing. Please submit any feedback by sending an email to friends@segment.com. • In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Please reach out to your customer success manager for more information. The rate limit for this endpoint is 25 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information. # noqa: E501
371
373
This method makes a synchronous HTTP request by default. To make an
:param pagination: Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha.
382
384
:type pagination: PaginationInput
385
+
:param search: Optional search criteria This parameter exists in alpha.
386
+
:type search: ListAudienceConsumersSearchInput
387
+
:param sort: Optional sort criteria This parameter exists in alpha.
388
+
:type sort: ListAudienceConsumersSortInput
383
389
:param async_req: Whether to execute the request asynchronously.
384
390
:type async_req: bool, optional
385
391
:param _request_timeout: timeout setting for this request.
message="Error! Please call the list_audience_consumers_from_space_and_audience_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data"# noqa: E501
deflist_audience_consumers_from_space_and_audience_with_http_info(self, space_id : constr(strict=True), id : constr(strict=True), pagination : Annotated[Optional[PaginationInput], Field(description="Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha.")] =None, **kwargs) ->ApiResponse: # noqa: E501
407
+
deflist_audience_consumers_from_space_and_audience_with_http_info(self, space_id : constr(strict=True), id : constr(strict=True), pagination : Annotated[Optional[PaginationInput], Field(description="Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha.")] =None, search : Annotated[Optional[ListAudienceConsumersSearchInput], Field(description="Optional search criteria This parameter exists in alpha.")] =None, sort : Annotated[Optional[ListAudienceConsumersSortInput], Field(description="Optional sort criteria This parameter exists in alpha.")] =None, **kwargs) ->ApiResponse: # noqa: E501
402
408
"""List Audience Consumers from Space And Audience # noqa: E501
403
409
404
410
Returns the list of consumers for the given audience. • This endpoint is in **Alpha** testing. Please submit any feedback by sending an email to friends@segment.com. • In order to successfully call this endpoint, the specified Workspace needs to have the Audience feature enabled. Please reach out to your customer success manager for more information. The rate limit for this endpoint is 25 requests per minute, which is lower than the default due to access pattern restrictions. Once reached, this endpoint will respond with the 429 HTTP status code with headers indicating the limit parameters. See [Rate Limiting](/#tag/Rate-Limits) for more information. # noqa: E501
405
411
This method makes a synchronous HTTP request by default. To make an
:param pagination: Information about the pagination of this response. [See pagination](https://docs.segmentapis.com/tag/Pagination/#section/Pagination-parameters) for more info. This parameter exists in alpha.
416
422
:type pagination: PaginationInput
423
+
:param search: Optional search criteria This parameter exists in alpha.
424
+
:type search: ListAudienceConsumersSearchInput
425
+
:param sort: Optional sort criteria This parameter exists in alpha.
426
+
:type sort: ListAudienceConsumersSortInput
417
427
:param async_req: Whether to execute the request asynchronously.
418
428
:type async_req: bool, optional
419
429
:param _preload_content: if False, the ApiResponse.data will
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
7
+
8
+
The version of the OpenAPI document: 58.1.1
9
+
Contact: friends@segment.com
10
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
7
+
8
+
The version of the OpenAPI document: 58.1.1
9
+
Contact: friends@segment.com
10
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
0 commit comments