Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Class: Aws::AppSync::Types::ChannelNamespace

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

Overview

Describes a channel namespace associated with an Api. The ChannelNamespace contains the definitions for code handlers for the Api.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The Api ID.

Returns:

  • (String)

755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 755

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified,
  :handler_configs)
  SENSITIVE = []
  include Aws::Structure
end

#channel_namespace_arnString

The Amazon Resource Name (ARN) for the ChannelNamespace.

Returns:

  • (String)

755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 755

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified,
  :handler_configs)
  SENSITIVE = []
  include Aws::Structure
end

#code_handlersString

The event handler functions that run custom business logic to process published events and subscribe requests.

Returns:

  • (String)

755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 755

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified,
  :handler_configs)
  SENSITIVE = []
  include Aws::Structure
end

#createdTime

The date and time that the ChannelNamespace was created.

Returns:

  • (Time)

755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 755

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified,
  :handler_configs)
  SENSITIVE = []
  include Aws::Structure
end

#handler_configsTypes::HandlerConfigs

The configuration for the OnPublish and OnSubscribe handlers.


755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 755

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified,
  :handler_configs)
  SENSITIVE = []
  include Aws::Structure
end

#last_modifiedTime

The date and time that the ChannelNamespace was last changed.

Returns:

  • (Time)

755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 755

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified,
  :handler_configs)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the channel namespace. This name must be unique within the Api.

Returns:

  • (String)

755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 755

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified,
  :handler_configs)
  SENSITIVE = []
  include Aws::Structure
end

#publish_auth_modesArray<Types::AuthMode>

The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default Apiauthorization configuration.

Returns:


755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 755

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified,
  :handler_configs)
  SENSITIVE = []
  include Aws::Structure
end

#subscribe_auth_modesArray<Types::AuthMode>

The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default Apiauthorization configuration.

Returns:


755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 755

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified,
  :handler_configs)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

A map with keys of TagKey objects and values of TagValue objects.

Returns:

  • (Hash<String,String>)

755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/types.rb', line 755

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified,
  :handler_configs)
  SENSITIVE = []
  include Aws::Structure
end