AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
The TestRole operation tests the IAM role used to create the pipeline.

The TestRole 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.

Namespace: Amazon.ElasticTranscoder
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual TestRoleResponse TestRole(
         TestRoleRequest request
)

Parameters

request
Type: Amazon.ElasticTranscoder.Model.TestRoleRequest

Container for the necessary parameters to execute the TestRole service method.

Return Value
Type: Amazon.ElasticTranscoder.Model.TestRoleResponse
The response from the TestRole service method, as returned by ElasticTranscoder.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5