Class: Aws::Pinpoint::Types::APNSChannelResponse

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

Overview

Apple Distribution Push Notification Service channel definition.

Instance Attribute Summary collapse

Instance Attribute Details

#application_idString

The ID of the application to which the channel applies.

Returns:

  • (String)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#creation_dateString

When was this segment created

Returns:

  • (String)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#default_authentication_methodString

The default authentication method used for APNs.

Returns:

  • (String)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#enabledBoolean

If the channel is enabled for sending messages.

Returns:

  • (Boolean)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#has_credentialBoolean

Indicates whether the channel is configured with APNs credentials. Amazon Pinpoint uses your credentials to authenticate push notifications with APNs. To use APNs token authentication, set the BundleId, TeamId, TokenKey, and TokenKeyId attributes. To use certificate authentication, set the Certificate and PrivateKey attributes.

Returns:

  • (Boolean)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#has_token_keyBoolean

Indicates whether the channel is configured with a key for APNs token authentication. Provide a token key by setting the TokenKey attribute.

Returns:

  • (Boolean)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#idString

Channel ID. Not used. Present only for backwards compatibility.

Returns:

  • (String)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#is_archivedBoolean

Is this channel archived

Returns:

  • (Boolean)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#last_modified_byString

Who last updated this entry

Returns:

  • (String)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#last_modified_dateString

Last date this was updated

Returns:

  • (String)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#platformString

The platform type. Will be APNS.

Returns:

  • (String)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end

#versionInteger

Version of channel

Returns:

  • (Integer)


361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
# File 'lib/aws-sdk-pinpoint/types.rb', line 361

class APNSChannelResponse < Struct.new(
  :application_id,
  :creation_date,
  :default_authentication_method,
  :enabled,
  :has_credential,
  :has_token_key,
  :id,
  :is_archived,
  :last_modified_by,
  :last_modified_date,
  :platform,
  :version)
  include Aws::Structure
end