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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File '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`.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File '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.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File '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.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File '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 '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.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File '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`.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File '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 ‘Api`authorization configuration.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File '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 ‘Api`authorization configuration.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File '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.



755
756
757
758
759
760
761
762
763
764
765
766
767
768
# File '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