Skip to content

Commit 379d8a0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 851b688f of spec repo
1 parent fcf6600 commit 379d8a0

File tree

7 files changed

+126
-4
lines changed

7 files changed

+126
-4
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-01-22 15:54:14.847003",
8-
"spec_repo_commit": "7a8ea4b1"
7+
"regenerated": "2025-01-23 17:48:40.725342",
8+
"spec_repo_commit": "851b688f"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-22 15:54:14.862105",
13-
"spec_repo_commit": "7a8ea4b1"
12+
"regenerated": "2025-01-23 17:48:40.740872",
13+
"spec_repo_commit": "851b688f"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -16762,6 +16762,8 @@ components:
1676216762
description: The bucket where the archive will be stored.
1676316763
example: bucket-name
1676416764
type: string
16765+
encryption:
16766+
$ref: '#/components/schemas/LogsArchiveEncryptionS3'
1676516767
integration:
1676616768
$ref: '#/components/schemas/LogsArchiveIntegrationS3'
1676716769
path:
@@ -16783,6 +16785,30 @@ components:
1678316785
type: string
1678416786
x-enum-varnames:
1678516787
- S3
16788+
LogsArchiveEncryptionS3:
16789+
description: The S3 encryption settings.
16790+
properties:
16791+
key:
16792+
description: An Amazon Resource Name (ARN) used to identify an AWS KMS key.
16793+
example: arn:aws:kms:us-east-1:012345678901:key/DatadogIntegrationRoleKms
16794+
type: string
16795+
type:
16796+
$ref: '#/components/schemas/LogsArchiveEncryptionS3Type'
16797+
required:
16798+
- type
16799+
type: object
16800+
LogsArchiveEncryptionS3Type:
16801+
description: Type of S3 encryption for a destination.
16802+
enum:
16803+
- NO_OVERRIDE
16804+
- SSE_S3
16805+
- SSE_KMS
16806+
example: SSE_S3
16807+
type: string
16808+
x-enum-varnames:
16809+
- NO_OVERRIDE
16810+
- SSE_S3
16811+
- SSE_KMS
1678616812
LogsArchiveIntegrationAzure:
1678716813
description: The Azure archive's integration destination.
1678816814
properties:

packages/datadog-api-client-v2/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1627,6 +1627,8 @@ export { LogsArchiveDestinationGCS } from "./models/LogsArchiveDestinationGCS";
16271627
export { LogsArchiveDestinationGCSType } from "./models/LogsArchiveDestinationGCSType";
16281628
export { LogsArchiveDestinationS3 } from "./models/LogsArchiveDestinationS3";
16291629
export { LogsArchiveDestinationS3Type } from "./models/LogsArchiveDestinationS3Type";
1630+
export { LogsArchiveEncryptionS3 } from "./models/LogsArchiveEncryptionS3";
1631+
export { LogsArchiveEncryptionS3Type } from "./models/LogsArchiveEncryptionS3Type";
16301632
export { LogsArchiveIntegrationAzure } from "./models/LogsArchiveIntegrationAzure";
16311633
export { LogsArchiveIntegrationGCS } from "./models/LogsArchiveIntegrationGCS";
16321634
export { LogsArchiveIntegrationS3 } from "./models/LogsArchiveIntegrationS3";

packages/datadog-api-client-v2/models/LogsArchiveDestinationS3.ts

+9
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* Copyright 2020-Present Datadog, Inc.
55
*/
66
import { LogsArchiveDestinationS3Type } from "./LogsArchiveDestinationS3Type";
7+
import { LogsArchiveEncryptionS3 } from "./LogsArchiveEncryptionS3";
78
import { LogsArchiveIntegrationS3 } from "./LogsArchiveIntegrationS3";
89

910
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
@@ -16,6 +17,10 @@ export class LogsArchiveDestinationS3 {
1617
* The bucket where the archive will be stored.
1718
*/
1819
"bucket": string;
20+
/**
21+
* The S3 encryption settings.
22+
*/
23+
"encryption"?: LogsArchiveEncryptionS3;
1924
/**
2025
* The S3 Archive's integration destination.
2126
*/
@@ -50,6 +55,10 @@ export class LogsArchiveDestinationS3 {
5055
type: "string",
5156
required: true,
5257
},
58+
encryption: {
59+
baseName: "encryption",
60+
type: "LogsArchiveEncryptionS3",
61+
},
5362
integration: {
5463
baseName: "integration",
5564
type: "LogsArchiveIntegrationS3",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
/**
2+
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
3+
* This product includes software developed at Datadog (https://www.datadoghq.com/).
4+
* Copyright 2020-Present Datadog, Inc.
5+
*/
6+
import { LogsArchiveEncryptionS3Type } from "./LogsArchiveEncryptionS3Type";
7+
8+
import { AttributeTypeMap } from "../../datadog-api-client-common/util";
9+
10+
/**
11+
* The S3 encryption settings.
12+
*/
13+
export class LogsArchiveEncryptionS3 {
14+
/**
15+
* An Amazon Resource Name (ARN) used to identify an AWS KMS key.
16+
*/
17+
"key"?: string;
18+
/**
19+
* Type of S3 encryption for a destination.
20+
*/
21+
"type": LogsArchiveEncryptionS3Type;
22+
23+
/**
24+
* A container for additional, undeclared properties.
25+
* This is a holder for any undeclared properties as specified with
26+
* the 'additionalProperties' keyword in the OAS document.
27+
*/
28+
"additionalProperties"?: { [key: string]: any };
29+
30+
/**
31+
* @ignore
32+
*/
33+
"_unparsed"?: boolean;
34+
35+
/**
36+
* @ignore
37+
*/
38+
static readonly attributeTypeMap: AttributeTypeMap = {
39+
key: {
40+
baseName: "key",
41+
type: "string",
42+
},
43+
type: {
44+
baseName: "type",
45+
type: "LogsArchiveEncryptionS3Type",
46+
required: true,
47+
},
48+
additionalProperties: {
49+
baseName: "additionalProperties",
50+
type: "any",
51+
},
52+
};
53+
54+
/**
55+
* @ignore
56+
*/
57+
static getAttributeTypeMap(): AttributeTypeMap {
58+
return LogsArchiveEncryptionS3.attributeTypeMap;
59+
}
60+
61+
public constructor() {}
62+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/**
2+
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
3+
* This product includes software developed at Datadog (https://www.datadoghq.com/).
4+
* Copyright 2020-Present Datadog, Inc.
5+
*/
6+
7+
import { UnparsedObject } from "../../datadog-api-client-common/util";
8+
9+
/**
10+
* Type of S3 encryption for a destination.
11+
*/
12+
13+
export type LogsArchiveEncryptionS3Type =
14+
| typeof NO_OVERRIDE
15+
| typeof SSE_S3
16+
| typeof SSE_KMS
17+
| UnparsedObject;
18+
export const NO_OVERRIDE = "NO_OVERRIDE";
19+
export const SSE_S3 = "SSE_S3";
20+
export const SSE_KMS = "SSE_KMS";

packages/datadog-api-client-v2/models/ObjectSerializer.ts

+3
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,7 @@ import { LogsArchiveDefinition } from "./LogsArchiveDefinition";
773773
import { LogsArchiveDestinationAzure } from "./LogsArchiveDestinationAzure";
774774
import { LogsArchiveDestinationGCS } from "./LogsArchiveDestinationGCS";
775775
import { LogsArchiveDestinationS3 } from "./LogsArchiveDestinationS3";
776+
import { LogsArchiveEncryptionS3 } from "./LogsArchiveEncryptionS3";
776777
import { LogsArchiveIntegrationAzure } from "./LogsArchiveIntegrationAzure";
777778
import { LogsArchiveIntegrationGCS } from "./LogsArchiveIntegrationGCS";
778779
import { LogsArchiveIntegrationS3 } from "./LogsArchiveIntegrationS3";
@@ -1889,6 +1890,7 @@ const enumsMap: { [key: string]: any[] } = {
18891890
LogsArchiveDestinationAzureType: ["azure"],
18901891
LogsArchiveDestinationGCSType: ["gcs"],
18911892
LogsArchiveDestinationS3Type: ["s3"],
1893+
LogsArchiveEncryptionS3Type: ["NO_OVERRIDE", "SSE_S3", "SSE_KMS"],
18921894
LogsArchiveOrderDefinitionType: ["archive_order"],
18931895
LogsArchiveState: ["UNKNOWN", "WORKING", "FAILING", "WORKING_AUTH_LEGACY"],
18941896
LogsComputeType: ["timeseries", "total"],
@@ -3204,6 +3206,7 @@ const typeMap: { [index: string]: any } = {
32043206
LogsArchiveDestinationAzure: LogsArchiveDestinationAzure,
32053207
LogsArchiveDestinationGCS: LogsArchiveDestinationGCS,
32063208
LogsArchiveDestinationS3: LogsArchiveDestinationS3,
3209+
LogsArchiveEncryptionS3: LogsArchiveEncryptionS3,
32073210
LogsArchiveIntegrationAzure: LogsArchiveIntegrationAzure,
32083211
LogsArchiveIntegrationGCS: LogsArchiveIntegrationGCS,
32093212
LogsArchiveIntegrationS3: LogsArchiveIntegrationS3,

0 commit comments

Comments
 (0)