@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
46 lines (45 loc) • 2.03 kB
TypeScript
import { BaseAPI } from '../../../common/BaseAPI';
import Configuration from '../../../common/Configuration';
import CustomdataApi from './customdata/CustomdataApi';
import AnalyticsS3RoleBasedOutput from '../../../models/AnalyticsS3RoleBasedOutput';
import S3RoleBasedOutput from '../../../models/S3RoleBasedOutput';
import PaginationResponse from '../../../models/PaginationResponse';
import { AnalyticsS3RoleBasedOutputListQueryParams, AnalyticsS3RoleBasedOutputListQueryParamsBuilder } from './AnalyticsS3RoleBasedOutputListQueryParams';
/**
* S3RoleBasedApi - object-oriented interface
* @export
* @class S3RoleBasedApi
* @extends {BaseAPI}
*/
export default class S3RoleBasedApi extends BaseAPI {
customdata: CustomdataApi;
constructor(configuration: Configuration);
/**
* @summary Create S3 Role-based Output
* @param {AnalyticsS3RoleBasedOutput} analyticsS3RoleBasedOutput The S3 Role-based output to be created
* @throws {BitmovinError}
* @memberof S3RoleBasedApi
*/
create(analyticsS3RoleBasedOutput?: AnalyticsS3RoleBasedOutput): Promise<AnalyticsS3RoleBasedOutput>;
/**
* @summary Delete S3 Role-based Output
* @param {string} outputId Id of the output
* @throws {BitmovinError}
* @memberof S3RoleBasedApi
*/
delete(outputId: string): Promise<S3RoleBasedOutput>;
/**
* @summary S3 Role-based Output Details
* @param {string} outputId Id of the input
* @throws {BitmovinError}
* @memberof S3RoleBasedApi
*/
get(outputId: string): Promise<S3RoleBasedOutput>;
/**
* @summary List S3 Role-based Outputs
* @param {*} [queryParameters] query parameters for filtering, sorting and pagination
* @throws {BitmovinError}
* @memberof S3RoleBasedApi
*/
list(queryParameters?: AnalyticsS3RoleBasedOutputListQueryParams | ((q: AnalyticsS3RoleBasedOutputListQueryParamsBuilder) => AnalyticsS3RoleBasedOutputListQueryParamsBuilder)): Promise<PaginationResponse<AnalyticsS3RoleBasedOutput>>;
}