Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64447,6 +64447,16 @@ components:
- storage_class
type: object
x-pipeline-types: [logs]
ObservabilityPipelineAmazonS3DestinationServerSideEncryption:
description: Server-side encryption type for Amazon S3.
enum:
- "aws:kms"
- AES256
example: "aws:kms"
type: string
x-enum-varnames:
- AWS_KMS
- AES256
ObservabilityPipelineAmazonS3DestinationStorageClass:
description: S3 storage class.
enum:
Expand Down Expand Up @@ -64601,6 +64611,14 @@ components:
description: AWS region of the S3 bucket.
example: "us-east-1"
type: string
server_side_encryption:
$ref: "#/components/schemas/ObservabilityPipelineAmazonS3DestinationServerSideEncryption"
ssekms_key_id:
description: |-
The AWS KMS key ID used for SSE-KMS encryption.
Only applies when `server_side_encryption` is set to `aws:kms`.
example: "arn:aws:kms:us-east-1:123456789012:key/mrk-abc123"
type: string
storage_class:
$ref: "#/components/schemas/ObservabilityPipelineAmazonS3DestinationStorageClass"
type:
Expand Down
1 change: 1 addition & 0 deletions lib/datadog_api_client/inflector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4936,6 +4936,7 @@ def overrides
"v2.observability_pipeline_amazon_open_search_destination_auth_strategy" => "ObservabilityPipelineAmazonOpenSearchDestinationAuthStrategy",
"v2.observability_pipeline_amazon_open_search_destination_type" => "ObservabilityPipelineAmazonOpenSearchDestinationType",
"v2.observability_pipeline_amazon_s3_destination" => "ObservabilityPipelineAmazonS3Destination",
"v2.observability_pipeline_amazon_s3_destination_server_side_encryption" => "ObservabilityPipelineAmazonS3DestinationServerSideEncryption",
"v2.observability_pipeline_amazon_s3_destination_storage_class" => "ObservabilityPipelineAmazonS3DestinationStorageClass",
"v2.observability_pipeline_amazon_s3_destination_type" => "ObservabilityPipelineAmazonS3DestinationType",
"v2.observability_pipeline_amazon_s3_generic_batch_settings" => "ObservabilityPipelineAmazonS3GenericBatchSettings",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
=begin
#Datadog API V2 Collection

#Collection of all Datadog Public endpoints.

The version of the OpenAPI document: 1.0
Contact: support@datadoghq.com
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator

Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
This product includes software developed at Datadog (https://www.datadoghq.com/).
Copyright 2020-Present Datadog, Inc.

=end

require 'date'
require 'time'

module DatadogAPIClient::V2
# Server-side encryption type for Amazon S3.
class ObservabilityPipelineAmazonS3DestinationServerSideEncryption
include BaseEnumModel

AWS_KMS = "aws:kms".freeze
AES256 = "AES256".freeze
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ class ObservabilityPipelineAmazonS3GenericDestination
# AWS region of the S3 bucket.
attr_reader :region

# Server-side encryption type for Amazon S3.
attr_accessor :server_side_encryption

# The AWS KMS key ID used for SSE-KMS encryption.
# Only applies when `server_side_encryption` is set to `aws:kms`.
attr_accessor :ssekms_key_id

# S3 storage class.
attr_reader :storage_class

Expand All @@ -76,6 +83,8 @@ def self.attribute_map
:'inputs' => :'inputs',
:'key_prefix' => :'key_prefix',
:'region' => :'region',
:'server_side_encryption' => :'server_side_encryption',
:'ssekms_key_id' => :'ssekms_key_id',
:'storage_class' => :'storage_class',
:'type' => :'type'
}
Expand All @@ -95,6 +104,8 @@ def self.openapi_types
:'inputs' => :'Array<String>',
:'key_prefix' => :'String',
:'region' => :'String',
:'server_side_encryption' => :'ObservabilityPipelineAmazonS3DestinationServerSideEncryption',
:'ssekms_key_id' => :'String',
:'storage_class' => :'ObservabilityPipelineAmazonS3DestinationStorageClass',
:'type' => :'ObservabilityPipelineAmazonS3GenericDestinationType'
}
Expand Down Expand Up @@ -160,6 +171,14 @@ def initialize(attributes = {})
self.region = attributes[:'region']
end

if attributes.key?(:'server_side_encryption')
self.server_side_encryption = attributes[:'server_side_encryption']
end

if attributes.key?(:'ssekms_key_id')
self.ssekms_key_id = attributes[:'ssekms_key_id']
end

if attributes.key?(:'storage_class')
self.storage_class = attributes[:'storage_class']
end
Expand Down Expand Up @@ -300,6 +319,8 @@ def ==(o)
inputs == o.inputs &&
key_prefix == o.key_prefix &&
region == o.region &&
server_side_encryption == o.server_side_encryption &&
ssekms_key_id == o.ssekms_key_id &&
storage_class == o.storage_class &&
type == o.type &&
additional_properties == o.additional_properties
Expand All @@ -309,7 +330,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[auth, batch_settings, bucket, buffer, compression, encoding, id, inputs, key_prefix, region, storage_class, type, additional_properties].hash
[auth, batch_settings, bucket, buffer, compression, encoding, id, inputs, key_prefix, region, server_side_encryption, ssekms_key_id, storage_class, type, additional_properties].hash
end
end
end
Loading