AWS SDK for .NET Documentation
TestRole Method (request)
AmazonAmazon.ElasticTranscoderAmazonElasticTranscoderTestRole(TestRoleRequest) Did this page help you?   Yes   No    Tell us about it...
The TestRole operation tests the IAM role used to create the pipeline.

The

CopyC#
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.

Declaration Syntax
C#
TestRoleResponse TestRole(
	TestRoleRequest request
)
Parameters
request (TestRoleRequest)
Container for the necessary parameters to execute the TestRole service method.
Return Value
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.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)