AWS SDK for .NET Documentation
TestRoleRequest Class
AmazonAmazon.ElasticTranscoder.ModelTestRoleRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the TestRole operation. 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#
public class TestRoleRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
TestRoleRequest()()()()
Initializes a new instance of the TestRoleRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
InputBucket
Gets and sets the property InputBucket.

The Amazon S3 bucket that contains media files to be transcoded. The action attempts to read from this bucket.


OutputBucket
Gets and sets the property OutputBucket.

The Amazon S3 bucket that Elastic Transcoder will write transcoded media files to. The action attempts to read from this bucket.


Role
Gets and sets the property Role.

The IAM Amazon Resource Name (ARN) for the role that you want Elastic Transcoder to test.


Topics
Gets and sets the property Topics.

The ARNs of one or more Amazon Simple Notification Service (Amazon SNS) topics that you want the action to send a test notification to.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithInputBucket(String) Obsolete.
Sets the InputBucket property

WithOutputBucket(String) Obsolete.
Sets the OutputBucket property

WithRole(String) Obsolete.
Sets the Role property

WithTopics(array<String>[]()[][]) Obsolete.
Sets the Topics property

WithTopics(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Sets the Topics property

Inheritance Hierarchy

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