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.

Class: Aws::SNS::Types::Subscription

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

Overview

A wrapper type for the attributes of an Amazon SNS subscription.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#endpointString

The subscription's endpoint (format depends on the protocol).

Returns:

  • (String)


2221
2222
2223
2224
2225
2226
2227
2228
2229
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2221

class Subscription < Struct.new(
  :subscription_arn,
  :owner,
  :protocol,
  :endpoint,
  :topic_arn)
  SENSITIVE = []
  include Aws::Structure
end

#ownerString

The subscription's owner.

Returns:

  • (String)


2221
2222
2223
2224
2225
2226
2227
2228
2229
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2221

class Subscription < Struct.new(
  :subscription_arn,
  :owner,
  :protocol,
  :endpoint,
  :topic_arn)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The subscription's protocol.

Returns:

  • (String)


2221
2222
2223
2224
2225
2226
2227
2228
2229
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2221

class Subscription < Struct.new(
  :subscription_arn,
  :owner,
  :protocol,
  :endpoint,
  :topic_arn)
  SENSITIVE = []
  include Aws::Structure
end

#subscription_arnString

The subscription's ARN.

Returns:

  • (String)


2221
2222
2223
2224
2225
2226
2227
2228
2229
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2221

class Subscription < Struct.new(
  :subscription_arn,
  :owner,
  :protocol,
  :endpoint,
  :topic_arn)
  SENSITIVE = []
  include Aws::Structure
end

#topic_arnString

The ARN of the subscription's topic.

Returns:

  • (String)


2221
2222
2223
2224
2225
2226
2227
2228
2229
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 2221

class Subscription < Struct.new(
  :subscription_arn,
  :owner,
  :protocol,
  :endpoint,
  :topic_arn)
  SENSITIVE = []
  include Aws::Structure
end