Class LogStreamApi

java.lang.Object
org.openapitools.client.api.LogStreamApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-19T09:13:44.263607-05:00[America/Chicago]") @Component("org.openapitools.client.api.LogStreamApi") public class LogStreamApi extends Object
  • Constructor Details

    • LogStreamApi

      public LogStreamApi()
    • LogStreamApi

      @Autowired public LogStreamApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • activateLogStream

      public LogStream activateLogStream(String logStreamId) throws org.springframework.web.client.RestClientException
      Activate a Log Stream Activates a log stream by `logStreamId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Returns:
      LogStream
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • activateLogStreamWithHttpInfo

      public org.springframework.http.ResponseEntity<LogStream> activateLogStreamWithHttpInfo(String logStreamId) throws org.springframework.web.client.RestClientException
      Activate a Log Stream Activates a log stream by `logStreamId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Returns:
      ResponseEntity<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • activateLogStreamWithPaginationInfo

      public PagedList activateLogStreamWithPaginationInfo(String logStreamId) throws org.springframework.web.client.RestClientException
      Activate a Log Stream Activates a log stream by `logStreamId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Returns:
      ResponseEntity<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createLogStream

      public LogStream createLogStream(LogStream instance) throws org.springframework.web.client.RestClientException
      Create a Log Stream Creates a new log stream

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      instance - (required)
      Returns:
      LogStream
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createLogStream

      public <T> T createLogStream(Class<?> T, LogStream instance) throws org.springframework.web.client.RestClientException
      Create a Log Stream Creates a new log stream

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      instance - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createLogStreamWithHttpInfo

      public org.springframework.http.ResponseEntity<LogStream> createLogStreamWithHttpInfo(LogStream instance) throws org.springframework.web.client.RestClientException
      Create a Log Stream Creates a new log stream

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      instance - (required)
      Returns:
      ResponseEntity<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createLogStreamWithPaginationInfo

      public PagedList createLogStreamWithPaginationInfo(LogStream instance) throws org.springframework.web.client.RestClientException
      Create a Log Stream Creates a new log stream

      200 - Success

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      instance - (required)
      Returns:
      ResponseEntity<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateLogStream

      public LogStream deactivateLogStream(String logStreamId) throws org.springframework.web.client.RestClientException
      Deactivate a Log Stream Deactivates a log stream by `logStreamId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Returns:
      LogStream
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateLogStreamWithHttpInfo

      public org.springframework.http.ResponseEntity<LogStream> deactivateLogStreamWithHttpInfo(String logStreamId) throws org.springframework.web.client.RestClientException
      Deactivate a Log Stream Deactivates a log stream by `logStreamId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Returns:
      ResponseEntity<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deactivateLogStreamWithPaginationInfo

      public PagedList deactivateLogStreamWithPaginationInfo(String logStreamId) throws org.springframework.web.client.RestClientException
      Deactivate a Log Stream Deactivates a log stream by `logStreamId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Returns:
      ResponseEntity<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteLogStream

      public void deleteLogStream(String logStreamId) throws org.springframework.web.client.RestClientException
      Delete a Log Stream Deletes a log stream by `logStreamId`

      204 - No Content

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteLogStreamWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> deleteLogStreamWithHttpInfo(String logStreamId) throws org.springframework.web.client.RestClientException
      Delete a Log Stream Deletes a log stream by `logStreamId`

      204 - No Content

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getLogStream

      public LogStream getLogStream(String logStreamId) throws org.springframework.web.client.RestClientException
      Retrieve a Log Stream Retrieves a log stream by `logStreamId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Returns:
      LogStream
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getLogStreamWithHttpInfo

      public org.springframework.http.ResponseEntity<LogStream> getLogStreamWithHttpInfo(String logStreamId) throws org.springframework.web.client.RestClientException
      Retrieve a Log Stream Retrieves a log stream by `logStreamId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Returns:
      ResponseEntity<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getLogStreamWithPaginationInfo

      public PagedList getLogStreamWithPaginationInfo(String logStreamId) throws org.springframework.web.client.RestClientException
      Retrieve a Log Stream Retrieves a log stream by `logStreamId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      Returns:
      ResponseEntity<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listLogStreams

      public List<LogStream> listLogStreams(String after, Integer limit, String filter) throws org.springframework.web.client.RestClientException
      List all Log Streams Lists all log streams. You can request a paginated list or a subset of Log Streams that match a supported filter expression.

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      after - The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)
      limit - A limit on the number of objects to return. (optional, default to 20)
      filter - SCIM filter expression that filters the results. This expression only supports the `eq` operator on either the `status` or `type`. (optional)
      Returns:
      List<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listLogStreamsWithHttpInfo

      public org.springframework.http.ResponseEntity<List<LogStream>> listLogStreamsWithHttpInfo(String after, Integer limit, String filter) throws org.springframework.web.client.RestClientException
      List all Log Streams Lists all log streams. You can request a paginated list or a subset of Log Streams that match a supported filter expression.

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      after - The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)
      limit - A limit on the number of objects to return. (optional, default to 20)
      filter - SCIM filter expression that filters the results. This expression only supports the `eq` operator on either the `status` or `type`. (optional)
      Returns:
      ResponseEntity<List<LogStream>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listLogStreamsWithPaginationInfo

      public PagedList listLogStreamsWithPaginationInfo(String after, Integer limit, String filter) throws org.springframework.web.client.RestClientException
      List all Log Streams Lists all log streams. You can request a paginated list or a subset of Log Streams that match a supported filter expression.

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      after - The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)
      limit - A limit on the number of objects to return. (optional, default to 20)
      filter - SCIM filter expression that filters the results. This expression only supports the `eq` operator on either the `status` or `type`. (optional)
      Returns:
      ResponseEntity<List<LogStream>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceLogStream

      public LogStream replaceLogStream(String logStreamId, LogStream instance) throws org.springframework.web.client.RestClientException
      Replace a Log Stream Replaces a log stream by `logStreamId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      instance - (required)
      Returns:
      LogStream
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceLogStream

      public <T> T replaceLogStream(Class<?> T, String logStreamId, LogStream instance) throws org.springframework.web.client.RestClientException
      Replace a Log Stream Replaces a log stream by `logStreamId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      logStreamId - id of the log stream (required)
      instance - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceLogStreamWithHttpInfo

      public org.springframework.http.ResponseEntity<LogStream> replaceLogStreamWithHttpInfo(String logStreamId, LogStream instance) throws org.springframework.web.client.RestClientException
      Replace a Log Stream Replaces a log stream by `logStreamId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      instance - (required)
      Returns:
      ResponseEntity<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceLogStreamWithPaginationInfo

      public PagedList replaceLogStreamWithPaginationInfo(String logStreamId, LogStream instance) throws org.springframework.web.client.RestClientException
      Replace a Log Stream Replaces a log stream by `logStreamId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      logStreamId - id of the log stream (required)
      instance - (required)
      Returns:
      ResponseEntity<LogStream>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API