Class: Aws::CloudWatchEvents::Types::UpdateArchiveRequest

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

Overview

Note:

When making an API call, you may pass UpdateArchiveRequest data as a hash:

{
  archive_name: "ArchiveName", # required
  description: "ArchiveDescription",
  event_pattern: "EventPattern",
  retention_days: 1,
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#archive_nameString

The name of the archive to update.

Returns:

  • (String)

5372
5373
5374
5375
5376
5377
5378
5379
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 5372

class UpdateArchiveRequest < Struct.new(
  :archive_name,
  :description,
  :event_pattern,
  :retention_days)
  SENSITIVE = []
  include Aws::Structure
end

#descriptionString

The description for the archive.

Returns:

  • (String)

5372
5373
5374
5375
5376
5377
5378
5379
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 5372

class UpdateArchiveRequest < Struct.new(
  :archive_name,
  :description,
  :event_pattern,
  :retention_days)
  SENSITIVE = []
  include Aws::Structure
end

#event_patternString

The event pattern to use to filter events sent to the archive.

Returns:

  • (String)

5372
5373
5374
5375
5376
5377
5378
5379
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 5372

class UpdateArchiveRequest < Struct.new(
  :archive_name,
  :description,
  :event_pattern,
  :retention_days)
  SENSITIVE = []
  include Aws::Structure
end

#retention_daysInteger

The number of days to retain events in the archive.

Returns:

  • (Integer)

5372
5373
5374
5375
5376
5377
5378
5379
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 5372

class UpdateArchiveRequest < Struct.new(
  :archive_name,
  :description,
  :event_pattern,
  :retention_days)
  SENSITIVE = []
  include Aws::Structure
end