created_at
(datetime.datetime
): The timestamp when the log stream was created.created_by
(str
): The identifier of the user who created the log stream.id
(str
): The unique identifier of the log stream.name
(str
): The name of the log stream.project_id
(str
): The ID of the project this log stream belongs to.datetime.datetime
0 (datetime.datetime
): The timestamp when the log stream was last updated.datetime.datetime
2 (datetime.datetime
3): Additional properties associated with the log stream.project_id
or project_name
must be provided.
Arguments:
project_id
(Optional[str]
): The ID of the project to list log streams for.project_name
(Optional[str]
): The name of the project to list log streams for.ValueError
: If neither or both project_id
and project_name
are provided.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.project_name
0: If the request takes longer than Client.timeout.project_name
1: A list of log streams.
id
(Optional[str]
): The id of the log stream. Defaults to None.name
(Optional[str]
): The name of the log stream. Defaults to None.project_id
(Optional[str]
): The ID of the project. Defaults to None.project_name
(Optional[str]
): The name of the project. Defaults to None.ValueError
: If neither or both id
and name
are provided, or if neither or both
project_id
and project_name
are provided.Optional[str]
3: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.Optional[str]
4: If the request takes longer than Client.timeout.Optional[str]
5: The log stream if found, None otherwise.
project_id
or project_name
must be provided.
Arguments:
name
(str
): The name of the log stream.project_id
(Optional[str]
): The ID of the project to create the log stream in. Defaults to None.project_name
(Optional[str]
): The name of the project to create the log stream in. Defaults to None.ValueError
: If neither or both project_id
and project_name
are provided, or if the project is not found.project_name
1: If the server validation fails.project_name
2: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.project_name
3: If the request takes longer than Client.timeout.project_name
4: The created log stream.
project_id
or project_name
must be provided.
Arguments:
name
(Optional[str]
): The name of the log stream. Defaults to None.project_id
(Optional[str]
): The ID of the project. Defaults to None.project_name
(Optional[str]
): The name of the project. Defaults to None.ValueError
: If neither or both project_id
and project_name
are provided.project_name
1: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.project_name
2: If the request takes longer than Client.timeout.project_name
3: The log stream if found, None otherwise.
project_id
or project_name
must be provided.
Arguments:
project_id
(str
): The id of the project.project_name
(str
): The name of the project.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.list[LogStream]
: A list of Log streams.
project_id
or project_name
must be provided.
Arguments:
name
(str
): The name of the log stream.errors.UnexpectedStatus
: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.httpx.TimeoutException
: If the request takes longer than Client.timeout.LogStream
: The created project.