The TestRole operation tests the IAM role used to create the pipeline.
            
                    
            
            The  CopyC# action lets you determine whether the IAM role you are using
                       has sufficient permissions to let Elastic Transcoder perform tasks associated
            with the transcoding            process. The action attempts to assume the specified
            IAM role, checks read access to the            input and output buckets, and tries
            to send a test notification to Amazon SNS topics            that you specify.
CopyC# action lets you determine whether the IAM role you are using
                       has sufficient permissions to let Elastic Transcoder perform tasks associated
            with the transcoding            process. The action attempts to assume the specified
            IAM role, checks read access to the            input and output buckets, and tries
            to send a test notification to Amazon SNS topics            that you specify.
            TestRole
 Declaration Syntax
 Declaration Syntax| C# | 
public TestRoleResponse TestRole( TestRoleRequest request )
 Parameters
 Parameters- request (TestRoleRequest)
- Container for the necessary parameters to execute the TestRole service method.
 Return Value
 Return ValueThe response from the TestRole service method, as returned by ElasticTranscoder.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| AccessDeniedException | General authentication failure. The request was not signed correctly. | 
| IncompatibleVersionException | |
| InternalServiceException | Elastic Transcoder encountered an unexpected exception while trying to fulfill the
            request. | 
| ResourceNotFoundException | The requested resource does not exist or is not available. For example, the pipeline
            to            which you're trying to add a job doesn't exist or is still being created. | 
| ValidationException | One or more required parameter values were not provided in the request. |