Class: Aws::EventBridge::Types::UpdateArchiveRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/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)


5938
5939
5940
5941
5942
5943
5944
5945
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 5938

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

#descriptionString

The description for the archive.

Returns:

  • (String)


5938
5939
5940
5941
5942
5943
5944
5945
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 5938

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)


5938
5939
5940
5941
5942
5943
5944
5945
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 5938

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)


5938
5939
5940
5941
5942
5943
5944
5945
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 5938

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