Class: Aws::CodeStarNotifications::Types::UpdateNotificationRuleRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[:name]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The Amazon Resource Name (ARN) of the notification rule.

Returns:

  • (String)


845
846
847
848
849
850
851
852
853
854
# File 'lib/aws-sdk-codestarnotifications/types.rb', line 845

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#detail_typeString

The level of detail to include in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.

Returns:

  • (String)


845
846
847
848
849
850
851
852
853
854
# File 'lib/aws-sdk-codestarnotifications/types.rb', line 845

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#event_type_idsArray<String>

A list of event types associated with this notification rule. For a complete list of event types and IDs, see [Notification concepts] in the *Developer Tools Console User Guide*.

[1]: docs.aws.amazon.com/codestar-notifications/latest/userguide/concepts.html#concepts-api

Returns:

  • (Array<String>)


845
846
847
848
849
850
851
852
853
854
# File 'lib/aws-sdk-codestarnotifications/types.rb', line 845

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#nameString

The name of the notification rule.

Returns:

  • (String)


845
846
847
848
849
850
851
852
853
854
# File 'lib/aws-sdk-codestarnotifications/types.rb', line 845

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#statusString

The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).

Returns:

  • (String)


845
846
847
848
849
850
851
852
853
854
# File 'lib/aws-sdk-codestarnotifications/types.rb', line 845

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end

#targetsArray<Types::Target>

The address and type of the targets to receive notifications from this notification rule.

Returns:



845
846
847
848
849
850
851
852
853
854
# File 'lib/aws-sdk-codestarnotifications/types.rb', line 845

class UpdateNotificationRuleRequest < Struct.new(
  :arn,
  :name,
  :status,
  :event_type_ids,
  :targets,
  :detail_type)
  SENSITIVE = [:name]
  include Aws::Structure
end