Class: Aws::Connect::Types::CreateNotificationRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 6101

class CreateNotificationRequest < Struct.new(
  :instance_id,
  :expires_at,
  :recipients,
  :priority,
  :content,
  :tags,
  :predefined_notification_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#contentHash<String,String>

The localized content of the notification. A map where keys are locale codes and values are the notification text in that locale. Content supports links. Maximum 250 characters per locale.

Returns:

  • (Hash<String,String>)


6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 6101

class CreateNotificationRequest < Struct.new(
  :instance_id,
  :expires_at,
  :recipients,
  :priority,
  :content,
  :tags,
  :predefined_notification_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#expires_atTime

The timestamp when the notification should expire and no longer be displayed to users. If not specified, defaults to one week from creation.

Returns:

  • (Time)


6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 6101

class CreateNotificationRequest < Struct.new(
  :instance_id,
  :expires_at,
  :recipients,
  :priority,
  :content,
  :tags,
  :predefined_notification_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#instance_idString

The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Returns:

  • (String)


6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 6101

class CreateNotificationRequest < Struct.new(
  :instance_id,
  :expires_at,
  :recipients,
  :priority,
  :content,
  :tags,
  :predefined_notification_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#predefined_notification_idString

The unique identifier for a notification.

Returns:

  • (String)


6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 6101

class CreateNotificationRequest < Struct.new(
  :instance_id,
  :expires_at,
  :recipients,
  :priority,
  :content,
  :tags,
  :predefined_notification_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#priorityString

The priority level of the notification. Valid values are HIGH and LOW. High priority notifications are displayed above low priority notifications.

Returns:

  • (String)


6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 6101

class CreateNotificationRequest < Struct.new(
  :instance_id,
  :expires_at,
  :recipients,
  :priority,
  :content,
  :tags,
  :predefined_notification_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#recipientsArray<String>

A list of Amazon Resource Names (ARNs) identifying the recipients of the notification. Can include user ARNs or instance ARNs to target all users in an instance. Maximum of 200 recipients.

Returns:

  • (Array<String>)


6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 6101

class CreateNotificationRequest < Struct.new(
  :instance_id,
  :expires_at,
  :recipients,
  :priority,
  :content,
  :tags,
  :predefined_notification_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

Returns:

  • (Hash<String,String>)


6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 6101

class CreateNotificationRequest < Struct.new(
  :instance_id,
  :expires_at,
  :recipients,
  :priority,
  :content,
  :tags,
  :predefined_notification_id,
  :client_token)
  SENSITIVE = []
  include Aws::Structure
end