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.
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)
public virtual TestRoleResponse TestRole( TestRoleRequest request )
Container for the necessary parameters to execute the TestRole service method.
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5