UNPKG

iam-floyd

Version:

AWS IAM policy statement generator with fluent interface

187 lines (186 loc) 7.32 kB
import { AccessLevelList } from '../../shared/access-level'; import { PolicyStatement } from '../../shared'; /** * Statement provider for service [elastictranscoder](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonelastictranscoder.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ export declare class Elastictranscoder extends PolicyStatement { servicePrefix: string; /** * Statement provider for service [elastictranscoder](https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonelastictranscoder.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ constructor(sid?: string); /** * Cancel a job that Elastic Transcoder has not begun to process * * Access Level: Write * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/cancel-job.html */ toCancelJob(): this; /** * Create a job * * Access Level: Write * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/create-job.html */ toCreateJob(): this; /** * Create a pipeline * * Access Level: Write * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/create-pipeline.html */ toCreatePipeline(): this; /** * Create a preset * * Access Level: Write * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/create-preset.html */ toCreatePreset(): this; /** * Delete a pipeline * * Access Level: Write * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/delete-pipeline.html */ toDeletePipeline(): this; /** * Delete a preset * * Access Level: Write * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/delete-preset.html */ toDeletePreset(): this; /** * Get a list of the jobs that you assigned to a pipeline * * Access Level: List * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/list-jobs-by-pipeline.html */ toListJobsByPipeline(): this; /** * Get information about all of the jobs associated with the current AWS account that have a specified status * * Access Level: List * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/list-jobs-by-status.html */ toListJobsByStatus(): this; /** * Get a list of the pipelines associated with the current AWS account * * Access Level: List * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/list-pipelines.html */ toListPipelines(): this; /** * Get a list of all presets associated with the current AWS account * * Access Level: List * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/list-presets.html */ toListPresets(): this; /** * Get detailed information about a job * * Access Level: Read * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/get-job.html */ toReadJob(): this; /** * Get detailed information about a pipeline * * Access Level: Read * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/get-pipeline.html */ toReadPipeline(): this; /** * Get detailed information about a preset * * Access Level: Read * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/get-preset.html */ toReadPreset(): this; /** * Test the settings for a pipeline to ensure that Elastic Transcoder can create and process jobs * * Access Level: Write * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/test-pipeline-role.html */ toTestRole(): this; /** * Update settings for a pipeline * * Access Level: Write * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/update-pipeline.html */ toUpdatePipeline(): this; /** * Update only Amazon Simple Notification Service (Amazon SNS) notifications for a pipeline * * Access Level: Write * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/update-pipeline-notifications.html */ toUpdatePipelineNotifications(): this; /** * Pause or reactivate a pipeline, so the pipeline stops or restarts processing jobs, update the status for the pipeline * * Access Level: Write * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/update-pipeline-status.html */ toUpdatePipelineStatus(): this; protected accessLevelList: AccessLevelList; /** * Adds a resource of type job to the statement * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/operations-jobs.html * * @param jobId - Identifier for the jobId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. */ onJob(jobId: string, account?: string, region?: string, partition?: string): this; /** * Adds a resource of type pipeline to the statement * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/operations-pipelines.html * * @param pipelineId - Identifier for the pipelineId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. */ onPipeline(pipelineId: string, account?: string, region?: string, partition?: string): this; /** * Adds a resource of type preset to the statement * * https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/operations-presets.html * * @param presetId - Identifier for the presetId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. */ onPreset(presetId: string, account?: string, region?: string, partition?: string): this; }