Class: Aws::AppSync::Types::CreateChannelNamespaceRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_idString

The ‘Api` ID.

Returns:

  • (String)


1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
# File 'lib/aws-sdk-appsync/types.rb', line 1125

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


1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
# File 'lib/aws-sdk-appsync/types.rb', line 1125

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

#nameString

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

Returns:

  • (String)


1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
# File 'lib/aws-sdk-appsync/types.rb', line 1125

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



1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
# File 'lib/aws-sdk-appsync/types.rb', line 1125

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



1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
# File 'lib/aws-sdk-appsync/types.rb', line 1125

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

#tagsHash<String,String>

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

Returns:

  • (Hash<String,String>)


1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
# File 'lib/aws-sdk-appsync/types.rb', line 1125

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