You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::ElasticTranscoder::Types::TestRoleRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb

Overview

Note:

When making an API call, you may pass TestRoleRequest data as a hash:

{
  role: "Role", # required
  input_bucket: "BucketName", # required
  output_bucket: "BucketName", # required
  topics: ["SnsTopic"], # required
}

The TestRoleRequest structure.

Instance Attribute Summary collapse

Instance Attribute Details

#input_bucketString

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

Returns:

  • (String)


4080
4081
4082
4083
4084
4085
4086
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 4080

class TestRoleRequest < Struct.new(
  :role,
  :input_bucket,
  :output_bucket,
  :topics)
  include Aws::Structure
end

#output_bucketString

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

Returns:

  • (String)


4080
4081
4082
4083
4084
4085
4086
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 4080

class TestRoleRequest < Struct.new(
  :role,
  :input_bucket,
  :output_bucket,
  :topics)
  include Aws::Structure
end

#roleString

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

Returns:

  • (String)


4080
4081
4082
4083
4084
4085
4086
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 4080

class TestRoleRequest < Struct.new(
  :role,
  :input_bucket,
  :output_bucket,
  :topics)
  include Aws::Structure
end

#topicsArray<String>

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

Returns:

  • (Array<String>)


4080
4081
4082
4083
4084
4085
4086
# File 'gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/types.rb', line 4080

class TestRoleRequest < Struct.new(
  :role,
  :input_bucket,
  :output_bucket,
  :topics)
  include Aws::Structure
end