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.

Returns:

  • (String)


746
747
748
749
750
751
752
753
754
755
756
757
758
# File 'lib/aws-sdk-appsync/types.rb', line 746

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

#channel_namespace_arnString

The Amazon Resource Name (ARN) for the ‘ChannelNamespace`.

Returns:

  • (String)


746
747
748
749
750
751
752
753
754
755
756
757
758
# File 'lib/aws-sdk-appsync/types.rb', line 746

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified)
  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)


746
747
748
749
750
751
752
753
754
755
756
757
758
# File 'lib/aws-sdk-appsync/types.rb', line 746

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

#createdTime

The date and time that the ‘ChannelNamespace` was created.

Returns:

  • (Time)


746
747
748
749
750
751
752
753
754
755
756
757
758
# File 'lib/aws-sdk-appsync/types.rb', line 746

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

#last_modifiedTime

The date and time that the ‘ChannelNamespace` was last changed.

Returns:

  • (Time)


746
747
748
749
750
751
752
753
754
755
756
757
758
# File 'lib/aws-sdk-appsync/types.rb', line 746

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

#nameString

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

Returns:

  • (String)


746
747
748
749
750
751
752
753
754
755
756
757
758
# File 'lib/aws-sdk-appsync/types.rb', line 746

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified)
  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.

Returns:



746
747
748
749
750
751
752
753
754
755
756
757
758
# File 'lib/aws-sdk-appsync/types.rb', line 746

class ChannelNamespace < Struct.new(
  :api_id,
  :name,
  :subscribe_auth_modes,
  :publish_auth_modes,
  :code_handlers,
  :tags,
  :channel_namespace_arn,
  :created,
  :last_modified)
  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.

Returns:



746
747
748
749
750
751
752
753
754
755
756
757
758
# File 'lib/aws-sdk-appsync/types.rb', line 746

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

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)


746
747
748
749
750
751
752
753
754
755
756
757
758
# File 'lib/aws-sdk-appsync/types.rb', line 746

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