Skip to content

Commit 4fe2654

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 75555c3 of spec repo
1 parent b75003d commit 4fe2654

43 files changed

Lines changed: 702 additions & 859 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.generator/schemas/v1/openapi.yaml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6182,6 +6182,70 @@ components:
61826182
type: string
61836183
x-enum-varnames:
61846184
- ARITHMETIC_PROCESSOR
6185+
LogsArrayMapProcessor:
6186+
description: |-
6187+
The array-map processor transforms each element of a source array by running
6188+
sub-processors against it and writing results to a target array.
6189+
Sub-processors reference the current element via `$sourceElem` (read) and
6190+
`$targetElem` (write). Parent log attributes are read via plain paths as usual.
6191+
Supported sub-processor types: `attribute-remapper`, `string-builder-processor`,
6192+
`arithmetic-processor`, `category-processor`.
6193+
`is_enabled` on sub-processors is ignored; sub-processor execution is gated
6194+
entirely by the parent array-map's `is_enabled` flag.
6195+
properties:
6196+
is_enabled:
6197+
default: false
6198+
description: Whether or not the processor is enabled.
6199+
type: boolean
6200+
name:
6201+
description: Name of the processor.
6202+
type: string
6203+
preserve_source:
6204+
default: true
6205+
description: |-
6206+
When `false` and `source != target`, the source attribute is removed after
6207+
processing. Cannot be `false` when `source == target`.
6208+
type: boolean
6209+
processors:
6210+
description: |-
6211+
Sub-processors applied to each element. Allowed types: `attribute-remapper`,
6212+
`string-builder-processor`, `arithmetic-processor`, `category-processor`.
6213+
items:
6214+
oneOf:
6215+
- $ref: "#/components/schemas/LogsAttributeRemapper"
6216+
- $ref: "#/components/schemas/LogsStringBuilderProcessor"
6217+
- $ref: "#/components/schemas/LogsArithmeticProcessor"
6218+
- $ref: "#/components/schemas/LogsCategoryProcessor"
6219+
type: array
6220+
source:
6221+
description: |-
6222+
Attribute path of the source array. Elements are read-only via `$sourceElem`
6223+
inside sub-processors.
6224+
example: detail.resource.s3BucketDetails
6225+
type: string
6226+
target:
6227+
description: |-
6228+
Attribute path of the output array. Sub-processors write to `$targetElem`
6229+
(or `$targetElem.<field>`) to build each output element.
6230+
example: ocsf.resources
6231+
type: string
6232+
type:
6233+
$ref: "#/components/schemas/LogsArrayMapProcessorType"
6234+
required:
6235+
- source
6236+
- target
6237+
- processors
6238+
- type
6239+
type: object
6240+
LogsArrayMapProcessorType:
6241+
default: array-map
6242+
description: Type of logs array-map processor.
6243+
enum:
6244+
- array-map
6245+
example: array-map
6246+
type: string
6247+
x-enum-varnames:
6248+
- ARRAY_MAP
61856249
LogsArrayProcessor:
61866250
description: |-
61876251
A processor for extracting, aggregating, or transforming values from JSON arrays within your logs.
@@ -7237,6 +7301,7 @@ components:
72377301
- $ref: "#/components/schemas/LogsDecoderProcessor"
72387302
- $ref: "#/components/schemas/LogsSchemaProcessor"
72397303
- $ref: "#/components/schemas/LogsExcludeAttributeProcessor"
7304+
- $ref: "#/components/schemas/LogsArrayMapProcessor"
72407305
LogsQueryCompute:
72417306
description: Define computation for a log query.
72427307
properties:

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 222 deletions
Original file line numberDiff line numberDiff line change
@@ -2700,158 +2700,6 @@ components:
27002700
type: string
27012701
x-enum-varnames:
27022702
- CCM_CONFIG
2703-
AWSCcmConfigValidationIssue:
2704-
description: A single validation issue found while validating an AWS Cost and Usage Report (CUR) 2.0 configuration.
2705-
properties:
2706-
code:
2707-
$ref: "#/components/schemas/AWSCcmConfigValidationIssueCode"
2708-
description:
2709-
description: Human-readable description of the validation issue.
2710-
example: 'no CUR 2.0 export named "cost-and-usage-report" found'
2711-
type: string
2712-
required:
2713-
- code
2714-
- description
2715-
type: object
2716-
AWSCcmConfigValidationIssueCode:
2717-
description: Identifies the specific reason a Cost and Usage Report (CUR) 2.0 configuration failed validation.
2718-
enum:
2719-
- ISSUE_CODE_UNSPECIFIED
2720-
- CREDENTIAL_ERROR
2721-
- BUCKET_NAME_INVALID_GOVCLOUD
2722-
- S3_LIST_PERMISSION_MISSING
2723-
- S3_GET_PERMISSION_MISSING
2724-
- S3_BUCKET_REGION_MISMATCH
2725-
- S3_BUCKET_NOT_ACCESSIBLE
2726-
- EXPORT_LIST_PERMISSION_MISSING
2727-
- EXPORT_GET_PERMISSION_MISSING
2728-
- EXPORT_NOT_FOUND
2729-
- EXPORT_STATUS_UNHEALTHY
2730-
- TIME_GRANULARITY_INVALID
2731-
- FILE_FORMAT_INVALID
2732-
- INCLUDE_RESOURCES_DISABLED
2733-
- REFRESH_CADENCE_INVALID
2734-
- OVERWRITE_MODE_INVALID
2735-
- QUERY_STATEMENT_INVALID
2736-
example: "EXPORT_NOT_FOUND"
2737-
type: string
2738-
x-enum-varnames:
2739-
- ISSUE_CODE_UNSPECIFIED
2740-
- CREDENTIAL_ERROR
2741-
- BUCKET_NAME_INVALID_GOVCLOUD
2742-
- S3_LIST_PERMISSION_MISSING
2743-
- S3_GET_PERMISSION_MISSING
2744-
- S3_BUCKET_REGION_MISMATCH
2745-
- S3_BUCKET_NOT_ACCESSIBLE
2746-
- EXPORT_LIST_PERMISSION_MISSING
2747-
- EXPORT_GET_PERMISSION_MISSING
2748-
- EXPORT_NOT_FOUND
2749-
- EXPORT_STATUS_UNHEALTHY
2750-
- TIME_GRANULARITY_INVALID
2751-
- FILE_FORMAT_INVALID
2752-
- INCLUDE_RESOURCES_DISABLED
2753-
- REFRESH_CADENCE_INVALID
2754-
- OVERWRITE_MODE_INVALID
2755-
- QUERY_STATEMENT_INVALID
2756-
AWSCcmConfigValidationIssues:
2757-
description: List of validation issues found for the Cost and Usage Report (CUR) 2.0 configuration. Empty when the configuration is valid.
2758-
items:
2759-
$ref: "#/components/schemas/AWSCcmConfigValidationIssue"
2760-
type: array
2761-
AWSCcmConfigValidationRequest:
2762-
description: AWS CCM config validation request body.
2763-
properties:
2764-
data:
2765-
$ref: "#/components/schemas/AWSCcmConfigValidationRequestData"
2766-
required:
2767-
- data
2768-
type: object
2769-
AWSCcmConfigValidationRequestAttributes:
2770-
description: Attributes for an AWS CCM config validation request.
2771-
properties:
2772-
account_id:
2773-
description: Your AWS Account ID without dashes.
2774-
example: "123456789012"
2775-
type: string
2776-
bucket_name:
2777-
description: Name of the S3 bucket where the Cost and Usage Report is stored.
2778-
example: "billing"
2779-
type: string
2780-
bucket_region:
2781-
description: AWS region of the S3 bucket.
2782-
example: "us-east-1"
2783-
type: string
2784-
report_name:
2785-
description: Name of the Cost and Usage Report.
2786-
example: "cost-and-usage-report"
2787-
type: string
2788-
report_prefix:
2789-
description: S3 prefix where the Cost and Usage Report is stored.
2790-
example: "reports"
2791-
type: string
2792-
required:
2793-
- account_id
2794-
- bucket_name
2795-
- bucket_region
2796-
- report_name
2797-
type: object
2798-
AWSCcmConfigValidationRequestData:
2799-
description: AWS CCM config validation request data.
2800-
properties:
2801-
attributes:
2802-
$ref: "#/components/schemas/AWSCcmConfigValidationRequestAttributes"
2803-
type:
2804-
$ref: "#/components/schemas/AWSCcmConfigValidationType"
2805-
required:
2806-
- attributes
2807-
- type
2808-
type: object
2809-
AWSCcmConfigValidationResponse:
2810-
description: AWS CCM config validation response body.
2811-
properties:
2812-
data:
2813-
$ref: "#/components/schemas/AWSCcmConfigValidationResponseData"
2814-
required:
2815-
- data
2816-
type: object
2817-
AWSCcmConfigValidationResponseAttributes:
2818-
description: Attributes for an AWS CCM config validation response.
2819-
properties:
2820-
account_id:
2821-
description: Your AWS Account ID without dashes.
2822-
example: "123456789012"
2823-
type: string
2824-
issues:
2825-
$ref: "#/components/schemas/AWSCcmConfigValidationIssues"
2826-
required:
2827-
- account_id
2828-
- issues
2829-
type: object
2830-
AWSCcmConfigValidationResponseData:
2831-
description: AWS CCM config validation response data.
2832-
properties:
2833-
attributes:
2834-
$ref: "#/components/schemas/AWSCcmConfigValidationResponseAttributes"
2835-
id:
2836-
description: AWS CCM config validation resource identifier.
2837-
example: "ccm_config_validation"
2838-
type: string
2839-
type:
2840-
$ref: "#/components/schemas/AWSCcmConfigValidationType"
2841-
required:
2842-
- attributes
2843-
- id
2844-
- type
2845-
type: object
2846-
AWSCcmConfigValidationType:
2847-
default: "ccm_config_validation"
2848-
description: AWS CCM config validation resource type.
2849-
enum:
2850-
- ccm_config_validation
2851-
example: "ccm_config_validation"
2852-
type: string
2853-
x-enum-varnames:
2854-
- CCM_CONFIG_VALIDATION
28552703
AWSCloudAuthPersonaMappingAttributesResponse:
28562704
description: Attributes for AWS cloud authentication persona mapping response
28572705
properties:
@@ -129020,76 +128868,6 @@ paths:
129020128868
operator: OR
129021128869
permissions:
129022128870
- aws_configuration_read
129023-
/api/v2/integration/aws/validate_ccm_config:
129024-
post:
129025-
description: |-
129026-
Validate a Cloud Cost Management config for an AWS account using Cost and Usage Report
129027-
(CUR) 2.0 against Datadog's ingest requirements without persisting it.
129028-
operationId: ValidateAWSCCMConfig
129029-
requestBody:
129030-
content:
129031-
application/json:
129032-
examples:
129033-
default:
129034-
value:
129035-
data:
129036-
attributes:
129037-
account_id: "123456789012"
129038-
bucket_name: billing
129039-
bucket_region: us-east-1
129040-
report_name: cost-and-usage-report
129041-
report_prefix: reports
129042-
type: ccm_config_validation
129043-
schema:
129044-
$ref: "#/components/schemas/AWSCcmConfigValidationRequest"
129045-
description: Validate a Cloud Cost Management config for an AWS account integration config.
129046-
required: true
129047-
responses:
129048-
"200":
129049-
content:
129050-
application/json:
129051-
examples:
129052-
default:
129053-
value:
129054-
data:
129055-
attributes:
129056-
account_id: "123456789012"
129057-
issues:
129058-
- code: EXPORT_NOT_FOUND
129059-
description: 'no CUR 2.0 export named "cost-and-usage-report" found'
129060-
id: ccm_config_validation
129061-
type: ccm_config_validation
129062-
schema:
129063-
$ref: "#/components/schemas/AWSCcmConfigValidationResponse"
129064-
description: AWS CCM Config validation result
129065-
"400":
129066-
content:
129067-
application/json:
129068-
schema:
129069-
$ref: "#/components/schemas/JSONAPIErrorResponse"
129070-
description: Bad Request
129071-
"403":
129072-
$ref: "#/components/responses/ForbiddenResponse"
129073-
"429":
129074-
$ref: "#/components/responses/TooManyRequestsResponse"
129075-
"503":
129076-
content:
129077-
application/json:
129078-
schema:
129079-
$ref: "#/components/schemas/JSONAPIErrorResponse"
129080-
description: Service Unavailable
129081-
summary: Validate AWS CCM config
129082-
tags:
129083-
- AWS Integration
129084-
x-codegen-request-body-name: body
129085-
"x-permission":
129086-
operator: OR
129087-
permissions:
129088-
- cloud_cost_management_read
129089-
- cloud_cost_management_write
129090-
x-unstable: |-
129091-
**Note**: This endpoint is in Preview and may be subject to change.
129092-
If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).
129093128871
/api/v2/integration/gcp/accounts:
129094128872
get:
129095128873
description: List all GCP STS-enabled service accounts configured in your Datadog account.

docs/datadog_api_client.v1.model.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1957,6 +1957,20 @@ datadog\_api\_client.v1.model.logs\_arithmetic\_processor\_type module
19571957
:members:
19581958
:show-inheritance:
19591959

1960+
datadog\_api\_client.v1.model.logs\_array\_map\_processor module
1961+
----------------------------------------------------------------
1962+
1963+
.. automodule:: datadog_api_client.v1.model.logs_array_map_processor
1964+
:members:
1965+
:show-inheritance:
1966+
1967+
datadog\_api\_client.v1.model.logs\_array\_map\_processor\_type module
1968+
----------------------------------------------------------------------
1969+
1970+
.. automodule:: datadog_api_client.v1.model.logs_array_map_processor_type
1971+
:members:
1972+
:show-inheritance:
1973+
19601974
datadog\_api\_client.v1.model.logs\_array\_processor module
19611975
-----------------------------------------------------------
19621976

0 commit comments

Comments
 (0)