@datadog/datadog-api-client 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/LICENSE-3rdparty.csv +1 -0
- package/dist/packages/datadog-api-client-common/configuration.js +2 -0
- package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.d.ts +18 -13
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js +17 -14
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.d.ts +16 -16
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js +16 -16
- package/dist/packages/datadog-api-client-v1/index.d.ts +8 -0
- package/dist/packages/datadog-api-client-v1/index.js +15 -11
- package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/Downtime.d.ts +13 -0
- package/dist/packages/datadog-api-client-v1/models/Downtime.js +8 -0
- package/dist/packages/datadog-api-client-v1/models/Downtime.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/DowntimeChild.d.ts +13 -0
- package/dist/packages/datadog-api-client-v1/models/DowntimeChild.js +8 -0
- package/dist/packages/datadog-api-client-v1/models/DowntimeChild.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionQueryDefinition.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLODataSource.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLODataSource.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLODataSource.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOGroupMode.d.ts +12 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOGroupMode.js +11 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOGroupMode.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOMeasure.d.ts +16 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOMeasure.js +15 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOMeasure.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryDefinition.d.ts +52 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryDefinition.js +49 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryDefinition.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryType.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.d.ts +3 -1
- package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.js +3 -1
- package/dist/packages/datadog-api-client-v1/models/HourlyUsageAttributionUsageType.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/ListStreamQuery.d.ts +5 -0
- package/dist/packages/datadog-api-client-v1/models/ListStreamQuery.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/ListStreamQuery.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MatchingDowntime.d.ts +42 -0
- package/dist/packages/datadog-api-client-v1/models/MatchingDowntime.js +47 -0
- package/dist/packages/datadog-api-client-v1/models/MatchingDowntime.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/Monitor.d.ts +5 -0
- package/dist/packages/datadog-api-client-v1/models/Monitor.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/Monitor.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.d.ts +5 -1
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.js +5 -1
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionSupportedMetrics.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.d.ts +16 -0
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js +20 -0
- package/dist/packages/datadog-api-client-v1/models/MonthlyUsageAttributionValues.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/NotifyEndState.d.ts +13 -0
- package/dist/packages/datadog-api-client-v1/models/NotifyEndState.js +12 -0
- package/dist/packages/datadog-api-client-v1/models/NotifyEndState.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/NotifyEndType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v1/models/NotifyEndType.js +11 -0
- package/dist/packages/datadog-api-client-v1/models/NotifyEndType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js +27 -0
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SLOWidgetDefinition.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/SLOWidgetDefinition.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/SLOWidgetDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SignalArchiveReason.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/SignalArchiveReason.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/SignalArchiveReason.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIStep.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIStep.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestResultData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestResultShortResult.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionType.d.ts +3 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionType.js +3 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionType.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBatchDetailsData.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBatchResult.d.ts +2 -2
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBatchResult.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserVariable.d.ts +5 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserVariable.js +5 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBrowserVariable.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadata.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsCIBatchMetadata.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsCITest.d.ts +4 -4
- package/dist/packages/datadog-api-client-v1/models/SyntheticsCITest.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsGlobalVariable.d.ts +3 -3
- package/dist/packages/datadog-api-client-v1/models/SyntheticsGlobalVariable.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableParseTestOptions.d.ts +2 -2
- package/dist/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableParseTestOptions.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableParseTestOptionsType.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsGlobalVariableParserType.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsLocations.d.ts +2 -2
- package/dist/packages/datadog-api-client-v1/models/SyntheticsLocations.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsParsingOptions.d.ts +5 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsParsingOptions.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsParsingOptions.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsStep.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsStep.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsStepDetail.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestCiOptions.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestExecutionRule.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTiming.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTiming.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerBody.d.ts +2 -2
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerBody.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestLocation.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestLocation.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestRunResult.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerCITestsResponse.d.ts +2 -2
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTriggerTest.d.ts +2 -2
- package/dist/packages/datadog-api-client-v1/models/SyntheticsVariableParser.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js +5 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js +5 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js +5 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/GCPIntegrationApi.d.ts +133 -0
- package/dist/packages/datadog-api-client-v2/apis/GCPIntegrationApi.js +480 -0
- package/dist/packages/datadog-api-client-v2/apis/GCPIntegrationApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/LogsApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/apis/LogsApi.js +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +138 -0
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +261 -0
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.d.ts +13 -2
- package/dist/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.js +16 -5
- package/dist/packages/datadog-api-client-v2/apis/ServiceDefinitionApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.d.ts +8 -3
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js +5 -2
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/index.d.ts +32 -1
- package/dist/packages/datadog-api-client-v2/index.js +62 -16
- package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/DetailedFinding.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/DetailedFinding.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/DetailedFinding.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DetailedFindingAttributes.d.ts +72 -0
- package/dist/packages/datadog-api-client-v2/models/DetailedFindingAttributes.js +68 -0
- package/dist/packages/datadog-api-client-v2/models/DetailedFindingAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DetailedFindingType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/DetailedFindingType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/DetailedFindingType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/Finding.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/Finding.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/Finding.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FindingAttributes.d.ts +64 -0
- package/dist/packages/datadog-api-client-v2/models/FindingAttributes.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/FindingAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FindingEvaluation.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/FindingEvaluation.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/FindingEvaluation.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FindingMute.d.ts +49 -0
- package/dist/packages/datadog-api-client-v2/models/FindingMute.js +48 -0
- package/dist/packages/datadog-api-client-v2/models/FindingMute.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FindingMuteReason.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/FindingMuteReason.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/FindingMuteReason.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FindingRule.d.ts +32 -0
- package/dist/packages/datadog-api-client-v2/models/FindingRule.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/FindingRule.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FindingStatus.d.ts +15 -0
- package/dist/packages/datadog-api-client-v2/models/FindingStatus.js +14 -0
- package/dist/packages/datadog-api-client-v2/models/FindingStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/FindingType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/FindingType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/FindingType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccount.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccount.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccount.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountAttributes.d.ts +28 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountAttributes.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountResponse.js +26 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSDelegateAccountType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccount.d.ts +43 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccount.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccount.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountCreateRequest.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountCreateRequest.js +26 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountData.d.ts +34 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountData.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountResponse.js +26 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequest.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequest.js +26 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequestData.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountUpdateRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountsResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountsResponse.js +26 -0
- package/dist/packages/datadog-api-client-v2/models/GCPSTSServiceAccountsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPServiceAccountMeta.d.ts +28 -0
- package/dist/packages/datadog-api-client-v2/models/GCPServiceAccountMeta.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/GCPServiceAccountMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GCPServiceAccountType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/GCPServiceAccountType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/GCPServiceAccountType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetFindingResponse.d.ts +29 -0
- package/dist/packages/datadog-api-client-v2/models/GetFindingResponse.js +27 -0
- package/dist/packages/datadog-api-client-v2/models/GetFindingResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentCreateAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentCreateAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/IncidentCreateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ListFindingsMeta.d.ts +33 -0
- package/dist/packages/datadog-api-client-v2/models/ListFindingsMeta.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/ListFindingsMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListFindingsPage.d.ts +32 -0
- package/dist/packages/datadog-api-client-v2/models/ListFindingsPage.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ListFindingsPage.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListFindingsResponse.d.ts +34 -0
- package/dist/packages/datadog-api-client-v2/models/ListFindingsResponse.js +32 -0
- package/dist/packages/datadog-api-client-v2/models/ListFindingsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +58 -0
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalArchiveReason.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalArchiveReason.js +2 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalArchiveReason.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionSchemaVersions.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionSchemaVersions.js +12 -0
- package/dist/packages/datadog-api-client-v2/models/ServiceDefinitionSchemaVersions.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamCreateAttributes.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/TeamCreateAttributes.js +0 -5
- package/dist/packages/datadog-api-client-v2/models/TeamCreateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/TeamUpdateAttributes.d.ts +0 -4
- package/dist/packages/datadog-api-client-v2/models/TeamUpdateAttributes.js +0 -5
- package/dist/packages/datadog-api-client-v2/models/TeamUpdateAttributes.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -2
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { BaseAPIRequestFactory } from "../../datadog-api-client-common/baseapi";
|
|
2
|
+
import { Configuration } from "../../datadog-api-client-common/configuration";
|
|
3
|
+
import { RequestContext, ResponseContext } from "../../datadog-api-client-common/http/http";
|
|
4
|
+
import { GCPSTSDelegateAccountResponse } from "../models/GCPSTSDelegateAccountResponse";
|
|
5
|
+
import { GCPSTSServiceAccountCreateRequest } from "../models/GCPSTSServiceAccountCreateRequest";
|
|
6
|
+
import { GCPSTSServiceAccountResponse } from "../models/GCPSTSServiceAccountResponse";
|
|
7
|
+
import { GCPSTSServiceAccountsResponse } from "../models/GCPSTSServiceAccountsResponse";
|
|
8
|
+
import { GCPSTSServiceAccountUpdateRequest } from "../models/GCPSTSServiceAccountUpdateRequest";
|
|
9
|
+
export declare class GCPIntegrationApiRequestFactory extends BaseAPIRequestFactory {
|
|
10
|
+
createGCPSTSAccount(body: GCPSTSServiceAccountCreateRequest, _options?: Configuration): Promise<RequestContext>;
|
|
11
|
+
deleteGCPSTSAccount(accountId: string, _options?: Configuration): Promise<RequestContext>;
|
|
12
|
+
getGCPSTSDelegate(_options?: Configuration): Promise<RequestContext>;
|
|
13
|
+
listGCPSTSAccounts(_options?: Configuration): Promise<RequestContext>;
|
|
14
|
+
makeGCPSTSDelegate(body?: any, _options?: Configuration): Promise<RequestContext>;
|
|
15
|
+
updateGCPSTSAccount(accountId: string, body: GCPSTSServiceAccountUpdateRequest, _options?: Configuration): Promise<RequestContext>;
|
|
16
|
+
}
|
|
17
|
+
export declare class GCPIntegrationApiResponseProcessor {
|
|
18
|
+
/**
|
|
19
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
20
|
+
* to the expected objects
|
|
21
|
+
*
|
|
22
|
+
* @params response Response returned by the server for a request to createGCPSTSAccount
|
|
23
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
24
|
+
*/
|
|
25
|
+
createGCPSTSAccount(response: ResponseContext): Promise<GCPSTSServiceAccountResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
28
|
+
* to the expected objects
|
|
29
|
+
*
|
|
30
|
+
* @params response Response returned by the server for a request to deleteGCPSTSAccount
|
|
31
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
32
|
+
*/
|
|
33
|
+
deleteGCPSTSAccount(response: ResponseContext): Promise<void>;
|
|
34
|
+
/**
|
|
35
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
36
|
+
* to the expected objects
|
|
37
|
+
*
|
|
38
|
+
* @params response Response returned by the server for a request to getGCPSTSDelegate
|
|
39
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
40
|
+
*/
|
|
41
|
+
getGCPSTSDelegate(response: ResponseContext): Promise<GCPSTSDelegateAccountResponse>;
|
|
42
|
+
/**
|
|
43
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
44
|
+
* to the expected objects
|
|
45
|
+
*
|
|
46
|
+
* @params response Response returned by the server for a request to listGCPSTSAccounts
|
|
47
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
48
|
+
*/
|
|
49
|
+
listGCPSTSAccounts(response: ResponseContext): Promise<GCPSTSServiceAccountsResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
52
|
+
* to the expected objects
|
|
53
|
+
*
|
|
54
|
+
* @params response Response returned by the server for a request to makeGCPSTSDelegate
|
|
55
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
56
|
+
*/
|
|
57
|
+
makeGCPSTSDelegate(response: ResponseContext): Promise<GCPSTSDelegateAccountResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
60
|
+
* to the expected objects
|
|
61
|
+
*
|
|
62
|
+
* @params response Response returned by the server for a request to updateGCPSTSAccount
|
|
63
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
64
|
+
*/
|
|
65
|
+
updateGCPSTSAccount(response: ResponseContext): Promise<GCPSTSServiceAccountResponse>;
|
|
66
|
+
}
|
|
67
|
+
export interface GCPIntegrationApiCreateGCPSTSAccountRequest {
|
|
68
|
+
/**
|
|
69
|
+
* @type GCPSTSServiceAccountCreateRequest
|
|
70
|
+
*/
|
|
71
|
+
body: GCPSTSServiceAccountCreateRequest;
|
|
72
|
+
}
|
|
73
|
+
export interface GCPIntegrationApiDeleteGCPSTSAccountRequest {
|
|
74
|
+
/**
|
|
75
|
+
* Your GCP STS enabled service account's unique ID.
|
|
76
|
+
* @type string
|
|
77
|
+
*/
|
|
78
|
+
accountId: string;
|
|
79
|
+
}
|
|
80
|
+
export interface GCPIntegrationApiMakeGCPSTSDelegateRequest {
|
|
81
|
+
/**
|
|
82
|
+
* Create a delegate service account within Datadog.
|
|
83
|
+
* @type any
|
|
84
|
+
*/
|
|
85
|
+
body?: any;
|
|
86
|
+
}
|
|
87
|
+
export interface GCPIntegrationApiUpdateGCPSTSAccountRequest {
|
|
88
|
+
/**
|
|
89
|
+
* Your GCP STS enabled service account's unique ID.
|
|
90
|
+
* @type string
|
|
91
|
+
*/
|
|
92
|
+
accountId: string;
|
|
93
|
+
/**
|
|
94
|
+
* @type GCPSTSServiceAccountUpdateRequest
|
|
95
|
+
*/
|
|
96
|
+
body: GCPSTSServiceAccountUpdateRequest;
|
|
97
|
+
}
|
|
98
|
+
export declare class GCPIntegrationApi {
|
|
99
|
+
private requestFactory;
|
|
100
|
+
private responseProcessor;
|
|
101
|
+
private configuration;
|
|
102
|
+
constructor(configuration: Configuration, requestFactory?: GCPIntegrationApiRequestFactory, responseProcessor?: GCPIntegrationApiResponseProcessor);
|
|
103
|
+
/**
|
|
104
|
+
* Create a new entry within Datadog for your STS enabled service account.
|
|
105
|
+
* @param param The request object
|
|
106
|
+
*/
|
|
107
|
+
createGCPSTSAccount(param: GCPIntegrationApiCreateGCPSTSAccountRequest, options?: Configuration): Promise<GCPSTSServiceAccountResponse>;
|
|
108
|
+
/**
|
|
109
|
+
* Delete an STS enabled GCP account from within Datadog.
|
|
110
|
+
* @param param The request object
|
|
111
|
+
*/
|
|
112
|
+
deleteGCPSTSAccount(param: GCPIntegrationApiDeleteGCPSTSAccountRequest, options?: Configuration): Promise<void>;
|
|
113
|
+
/**
|
|
114
|
+
* List your Datadog-GCP STS delegate account configured in your Datadog account.
|
|
115
|
+
* @param param The request object
|
|
116
|
+
*/
|
|
117
|
+
getGCPSTSDelegate(options?: Configuration): Promise<GCPSTSDelegateAccountResponse>;
|
|
118
|
+
/**
|
|
119
|
+
* List all GCP STS-enabled service accounts configured in your Datadog account.
|
|
120
|
+
* @param param The request object
|
|
121
|
+
*/
|
|
122
|
+
listGCPSTSAccounts(options?: Configuration): Promise<GCPSTSServiceAccountsResponse>;
|
|
123
|
+
/**
|
|
124
|
+
* Create a Datadog GCP principal.
|
|
125
|
+
* @param param The request object
|
|
126
|
+
*/
|
|
127
|
+
makeGCPSTSDelegate(param?: GCPIntegrationApiMakeGCPSTSDelegateRequest, options?: Configuration): Promise<GCPSTSDelegateAccountResponse>;
|
|
128
|
+
/**
|
|
129
|
+
* Update an STS enabled service account.
|
|
130
|
+
* @param param The request object
|
|
131
|
+
*/
|
|
132
|
+
updateGCPSTSAccount(param: GCPIntegrationApiUpdateGCPSTSAccountRequest, options?: Configuration): Promise<GCPSTSServiceAccountResponse>;
|
|
133
|
+
}
|
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GCPIntegrationApi = exports.GCPIntegrationApiResponseProcessor = exports.GCPIntegrationApiRequestFactory = void 0;
|
|
13
|
+
const baseapi_1 = require("../../datadog-api-client-common/baseapi");
|
|
14
|
+
const configuration_1 = require("../../datadog-api-client-common/configuration");
|
|
15
|
+
const http_1 = require("../../datadog-api-client-common/http/http");
|
|
16
|
+
const logger_1 = require("../../../logger");
|
|
17
|
+
const ObjectSerializer_1 = require("../models/ObjectSerializer");
|
|
18
|
+
const exception_1 = require("../../datadog-api-client-common/exception");
|
|
19
|
+
class GCPIntegrationApiRequestFactory extends baseapi_1.BaseAPIRequestFactory {
|
|
20
|
+
createGCPSTSAccount(body, _options) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
const _config = _options || this.configuration;
|
|
23
|
+
// verify required parameter 'body' is not null or undefined
|
|
24
|
+
if (body === null || body === undefined) {
|
|
25
|
+
throw new baseapi_1.RequiredError("body", "createGCPSTSAccount");
|
|
26
|
+
}
|
|
27
|
+
// Path Params
|
|
28
|
+
const localVarPath = "/api/v2/integration/gcp/accounts";
|
|
29
|
+
// Make Request Context
|
|
30
|
+
const requestContext = (0, configuration_1.getServer)(_config, "v2.GCPIntegrationApi.createGCPSTSAccount").makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
31
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
32
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
33
|
+
// Body Params
|
|
34
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
35
|
+
"application/json",
|
|
36
|
+
]);
|
|
37
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
38
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "GCPSTSServiceAccountCreateRequest", ""), contentType);
|
|
39
|
+
requestContext.setBody(serializedBody);
|
|
40
|
+
// Apply auth methods
|
|
41
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
42
|
+
"apiKeyAuth",
|
|
43
|
+
"appKeyAuth",
|
|
44
|
+
]);
|
|
45
|
+
return requestContext;
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
deleteGCPSTSAccount(accountId, _options) {
|
|
49
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
+
const _config = _options || this.configuration;
|
|
51
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
52
|
+
if (accountId === null || accountId === undefined) {
|
|
53
|
+
throw new baseapi_1.RequiredError("accountId", "deleteGCPSTSAccount");
|
|
54
|
+
}
|
|
55
|
+
// Path Params
|
|
56
|
+
const localVarPath = "/api/v2/integration/gcp/accounts/{account_id}".replace("{account_id}", encodeURIComponent(String(accountId)));
|
|
57
|
+
// Make Request Context
|
|
58
|
+
const requestContext = (0, configuration_1.getServer)(_config, "v2.GCPIntegrationApi.deleteGCPSTSAccount").makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
59
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
60
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
61
|
+
// Apply auth methods
|
|
62
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
63
|
+
"apiKeyAuth",
|
|
64
|
+
"appKeyAuth",
|
|
65
|
+
]);
|
|
66
|
+
return requestContext;
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
getGCPSTSDelegate(_options) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
const _config = _options || this.configuration;
|
|
72
|
+
// Path Params
|
|
73
|
+
const localVarPath = "/api/v2/integration/gcp/sts_delegate";
|
|
74
|
+
// Make Request Context
|
|
75
|
+
const requestContext = (0, configuration_1.getServer)(_config, "v2.GCPIntegrationApi.getGCPSTSDelegate").makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
76
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
77
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
78
|
+
// Apply auth methods
|
|
79
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
80
|
+
"apiKeyAuth",
|
|
81
|
+
"appKeyAuth",
|
|
82
|
+
]);
|
|
83
|
+
return requestContext;
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
listGCPSTSAccounts(_options) {
|
|
87
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
+
const _config = _options || this.configuration;
|
|
89
|
+
// Path Params
|
|
90
|
+
const localVarPath = "/api/v2/integration/gcp/accounts";
|
|
91
|
+
// Make Request Context
|
|
92
|
+
const requestContext = (0, configuration_1.getServer)(_config, "v2.GCPIntegrationApi.listGCPSTSAccounts").makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
93
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
94
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
95
|
+
// Apply auth methods
|
|
96
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
97
|
+
"apiKeyAuth",
|
|
98
|
+
"appKeyAuth",
|
|
99
|
+
]);
|
|
100
|
+
return requestContext;
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
makeGCPSTSDelegate(body, _options) {
|
|
104
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
105
|
+
const _config = _options || this.configuration;
|
|
106
|
+
// Path Params
|
|
107
|
+
const localVarPath = "/api/v2/integration/gcp/sts_delegate";
|
|
108
|
+
// Make Request Context
|
|
109
|
+
const requestContext = (0, configuration_1.getServer)(_config, "v2.GCPIntegrationApi.makeGCPSTSDelegate").makeRequestContext(localVarPath, http_1.HttpMethod.POST);
|
|
110
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
111
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
112
|
+
// Body Params
|
|
113
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
114
|
+
"application/json",
|
|
115
|
+
]);
|
|
116
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
117
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "any", ""), contentType);
|
|
118
|
+
requestContext.setBody(serializedBody);
|
|
119
|
+
// Apply auth methods
|
|
120
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
121
|
+
"apiKeyAuth",
|
|
122
|
+
"appKeyAuth",
|
|
123
|
+
]);
|
|
124
|
+
return requestContext;
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
updateGCPSTSAccount(accountId, body, _options) {
|
|
128
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
129
|
+
const _config = _options || this.configuration;
|
|
130
|
+
// verify required parameter 'accountId' is not null or undefined
|
|
131
|
+
if (accountId === null || accountId === undefined) {
|
|
132
|
+
throw new baseapi_1.RequiredError("accountId", "updateGCPSTSAccount");
|
|
133
|
+
}
|
|
134
|
+
// verify required parameter 'body' is not null or undefined
|
|
135
|
+
if (body === null || body === undefined) {
|
|
136
|
+
throw new baseapi_1.RequiredError("body", "updateGCPSTSAccount");
|
|
137
|
+
}
|
|
138
|
+
// Path Params
|
|
139
|
+
const localVarPath = "/api/v2/integration/gcp/accounts/{account_id}".replace("{account_id}", encodeURIComponent(String(accountId)));
|
|
140
|
+
// Make Request Context
|
|
141
|
+
const requestContext = (0, configuration_1.getServer)(_config, "v2.GCPIntegrationApi.updateGCPSTSAccount").makeRequestContext(localVarPath, http_1.HttpMethod.PATCH);
|
|
142
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
143
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
144
|
+
// Body Params
|
|
145
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
146
|
+
"application/json",
|
|
147
|
+
]);
|
|
148
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
149
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "GCPSTSServiceAccountUpdateRequest", ""), contentType);
|
|
150
|
+
requestContext.setBody(serializedBody);
|
|
151
|
+
// Apply auth methods
|
|
152
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
153
|
+
"apiKeyAuth",
|
|
154
|
+
"appKeyAuth",
|
|
155
|
+
]);
|
|
156
|
+
return requestContext;
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.GCPIntegrationApiRequestFactory = GCPIntegrationApiRequestFactory;
|
|
161
|
+
class GCPIntegrationApiResponseProcessor {
|
|
162
|
+
/**
|
|
163
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
164
|
+
* to the expected objects
|
|
165
|
+
*
|
|
166
|
+
* @params response Response returned by the server for a request to createGCPSTSAccount
|
|
167
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
168
|
+
*/
|
|
169
|
+
createGCPSTSAccount(response) {
|
|
170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
172
|
+
if (response.httpStatusCode == 201) {
|
|
173
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPSTSServiceAccountResponse");
|
|
174
|
+
return body;
|
|
175
|
+
}
|
|
176
|
+
if (response.httpStatusCode == 400 ||
|
|
177
|
+
response.httpStatusCode == 401 ||
|
|
178
|
+
response.httpStatusCode == 403 ||
|
|
179
|
+
response.httpStatusCode == 409 ||
|
|
180
|
+
response.httpStatusCode == 429) {
|
|
181
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
182
|
+
let body;
|
|
183
|
+
try {
|
|
184
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
185
|
+
}
|
|
186
|
+
catch (error) {
|
|
187
|
+
logger_1.logger.info(`Got error deserializing error: ${error}`);
|
|
188
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
189
|
+
}
|
|
190
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
191
|
+
}
|
|
192
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
193
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
194
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPSTSServiceAccountResponse", "");
|
|
195
|
+
return body;
|
|
196
|
+
}
|
|
197
|
+
const body = (yield response.body.text()) || "";
|
|
198
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
203
|
+
* to the expected objects
|
|
204
|
+
*
|
|
205
|
+
* @params response Response returned by the server for a request to deleteGCPSTSAccount
|
|
206
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
207
|
+
*/
|
|
208
|
+
deleteGCPSTSAccount(response) {
|
|
209
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
210
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
211
|
+
if (response.httpStatusCode == 204) {
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
if (response.httpStatusCode == 400 ||
|
|
215
|
+
response.httpStatusCode == 403 ||
|
|
216
|
+
response.httpStatusCode == 429) {
|
|
217
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
218
|
+
let body;
|
|
219
|
+
try {
|
|
220
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
221
|
+
}
|
|
222
|
+
catch (error) {
|
|
223
|
+
logger_1.logger.info(`Got error deserializing error: ${error}`);
|
|
224
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
225
|
+
}
|
|
226
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
227
|
+
}
|
|
228
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
229
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
230
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "void", "");
|
|
231
|
+
return body;
|
|
232
|
+
}
|
|
233
|
+
const body = (yield response.body.text()) || "";
|
|
234
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
235
|
+
});
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
239
|
+
* to the expected objects
|
|
240
|
+
*
|
|
241
|
+
* @params response Response returned by the server for a request to getGCPSTSDelegate
|
|
242
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
243
|
+
*/
|
|
244
|
+
getGCPSTSDelegate(response) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
247
|
+
if (response.httpStatusCode == 200) {
|
|
248
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPSTSDelegateAccountResponse");
|
|
249
|
+
return body;
|
|
250
|
+
}
|
|
251
|
+
if (response.httpStatusCode == 403 || response.httpStatusCode == 429) {
|
|
252
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
253
|
+
let body;
|
|
254
|
+
try {
|
|
255
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
256
|
+
}
|
|
257
|
+
catch (error) {
|
|
258
|
+
logger_1.logger.info(`Got error deserializing error: ${error}`);
|
|
259
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
260
|
+
}
|
|
261
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
262
|
+
}
|
|
263
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
264
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
265
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPSTSDelegateAccountResponse", "");
|
|
266
|
+
return body;
|
|
267
|
+
}
|
|
268
|
+
const body = (yield response.body.text()) || "";
|
|
269
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
274
|
+
* to the expected objects
|
|
275
|
+
*
|
|
276
|
+
* @params response Response returned by the server for a request to listGCPSTSAccounts
|
|
277
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
278
|
+
*/
|
|
279
|
+
listGCPSTSAccounts(response) {
|
|
280
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
281
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
282
|
+
if (response.httpStatusCode == 200) {
|
|
283
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPSTSServiceAccountsResponse");
|
|
284
|
+
return body;
|
|
285
|
+
}
|
|
286
|
+
if (response.httpStatusCode == 403 ||
|
|
287
|
+
response.httpStatusCode == 404 ||
|
|
288
|
+
response.httpStatusCode == 429) {
|
|
289
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
290
|
+
let body;
|
|
291
|
+
try {
|
|
292
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
293
|
+
}
|
|
294
|
+
catch (error) {
|
|
295
|
+
logger_1.logger.info(`Got error deserializing error: ${error}`);
|
|
296
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
297
|
+
}
|
|
298
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
299
|
+
}
|
|
300
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
301
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
302
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPSTSServiceAccountsResponse", "");
|
|
303
|
+
return body;
|
|
304
|
+
}
|
|
305
|
+
const body = (yield response.body.text()) || "";
|
|
306
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
311
|
+
* to the expected objects
|
|
312
|
+
*
|
|
313
|
+
* @params response Response returned by the server for a request to makeGCPSTSDelegate
|
|
314
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
315
|
+
*/
|
|
316
|
+
makeGCPSTSDelegate(response) {
|
|
317
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
318
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
319
|
+
if (response.httpStatusCode == 200) {
|
|
320
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPSTSDelegateAccountResponse");
|
|
321
|
+
return body;
|
|
322
|
+
}
|
|
323
|
+
if (response.httpStatusCode == 403 ||
|
|
324
|
+
response.httpStatusCode == 409 ||
|
|
325
|
+
response.httpStatusCode == 429) {
|
|
326
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
327
|
+
let body;
|
|
328
|
+
try {
|
|
329
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
330
|
+
}
|
|
331
|
+
catch (error) {
|
|
332
|
+
logger_1.logger.info(`Got error deserializing error: ${error}`);
|
|
333
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
334
|
+
}
|
|
335
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
336
|
+
}
|
|
337
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
338
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
339
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPSTSDelegateAccountResponse", "");
|
|
340
|
+
return body;
|
|
341
|
+
}
|
|
342
|
+
const body = (yield response.body.text()) || "";
|
|
343
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
348
|
+
* to the expected objects
|
|
349
|
+
*
|
|
350
|
+
* @params response Response returned by the server for a request to updateGCPSTSAccount
|
|
351
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
352
|
+
*/
|
|
353
|
+
updateGCPSTSAccount(response) {
|
|
354
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
355
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
356
|
+
if (response.httpStatusCode == 201) {
|
|
357
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPSTSServiceAccountResponse");
|
|
358
|
+
return body;
|
|
359
|
+
}
|
|
360
|
+
if (response.httpStatusCode == 400 ||
|
|
361
|
+
response.httpStatusCode == 403 ||
|
|
362
|
+
response.httpStatusCode == 404 ||
|
|
363
|
+
response.httpStatusCode == 429) {
|
|
364
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
365
|
+
let body;
|
|
366
|
+
try {
|
|
367
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
368
|
+
}
|
|
369
|
+
catch (error) {
|
|
370
|
+
logger_1.logger.info(`Got error deserializing error: ${error}`);
|
|
371
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
372
|
+
}
|
|
373
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
374
|
+
}
|
|
375
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
376
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
377
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "GCPSTSServiceAccountResponse", "");
|
|
378
|
+
return body;
|
|
379
|
+
}
|
|
380
|
+
const body = (yield response.body.text()) || "";
|
|
381
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
382
|
+
});
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
exports.GCPIntegrationApiResponseProcessor = GCPIntegrationApiResponseProcessor;
|
|
386
|
+
class GCPIntegrationApi {
|
|
387
|
+
constructor(configuration, requestFactory, responseProcessor) {
|
|
388
|
+
this.configuration = configuration;
|
|
389
|
+
this.requestFactory =
|
|
390
|
+
requestFactory || new GCPIntegrationApiRequestFactory(configuration);
|
|
391
|
+
this.responseProcessor =
|
|
392
|
+
responseProcessor || new GCPIntegrationApiResponseProcessor();
|
|
393
|
+
}
|
|
394
|
+
/**
|
|
395
|
+
* Create a new entry within Datadog for your STS enabled service account.
|
|
396
|
+
* @param param The request object
|
|
397
|
+
*/
|
|
398
|
+
createGCPSTSAccount(param, options) {
|
|
399
|
+
const requestContextPromise = this.requestFactory.createGCPSTSAccount(param.body, options);
|
|
400
|
+
return requestContextPromise.then((requestContext) => {
|
|
401
|
+
return this.configuration.httpApi
|
|
402
|
+
.send(requestContext)
|
|
403
|
+
.then((responseContext) => {
|
|
404
|
+
return this.responseProcessor.createGCPSTSAccount(responseContext);
|
|
405
|
+
});
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
/**
|
|
409
|
+
* Delete an STS enabled GCP account from within Datadog.
|
|
410
|
+
* @param param The request object
|
|
411
|
+
*/
|
|
412
|
+
deleteGCPSTSAccount(param, options) {
|
|
413
|
+
const requestContextPromise = this.requestFactory.deleteGCPSTSAccount(param.accountId, options);
|
|
414
|
+
return requestContextPromise.then((requestContext) => {
|
|
415
|
+
return this.configuration.httpApi
|
|
416
|
+
.send(requestContext)
|
|
417
|
+
.then((responseContext) => {
|
|
418
|
+
return this.responseProcessor.deleteGCPSTSAccount(responseContext);
|
|
419
|
+
});
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
/**
|
|
423
|
+
* List your Datadog-GCP STS delegate account configured in your Datadog account.
|
|
424
|
+
* @param param The request object
|
|
425
|
+
*/
|
|
426
|
+
getGCPSTSDelegate(options) {
|
|
427
|
+
const requestContextPromise = this.requestFactory.getGCPSTSDelegate(options);
|
|
428
|
+
return requestContextPromise.then((requestContext) => {
|
|
429
|
+
return this.configuration.httpApi
|
|
430
|
+
.send(requestContext)
|
|
431
|
+
.then((responseContext) => {
|
|
432
|
+
return this.responseProcessor.getGCPSTSDelegate(responseContext);
|
|
433
|
+
});
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* List all GCP STS-enabled service accounts configured in your Datadog account.
|
|
438
|
+
* @param param The request object
|
|
439
|
+
*/
|
|
440
|
+
listGCPSTSAccounts(options) {
|
|
441
|
+
const requestContextPromise = this.requestFactory.listGCPSTSAccounts(options);
|
|
442
|
+
return requestContextPromise.then((requestContext) => {
|
|
443
|
+
return this.configuration.httpApi
|
|
444
|
+
.send(requestContext)
|
|
445
|
+
.then((responseContext) => {
|
|
446
|
+
return this.responseProcessor.listGCPSTSAccounts(responseContext);
|
|
447
|
+
});
|
|
448
|
+
});
|
|
449
|
+
}
|
|
450
|
+
/**
|
|
451
|
+
* Create a Datadog GCP principal.
|
|
452
|
+
* @param param The request object
|
|
453
|
+
*/
|
|
454
|
+
makeGCPSTSDelegate(param = {}, options) {
|
|
455
|
+
const requestContextPromise = this.requestFactory.makeGCPSTSDelegate(param.body, options);
|
|
456
|
+
return requestContextPromise.then((requestContext) => {
|
|
457
|
+
return this.configuration.httpApi
|
|
458
|
+
.send(requestContext)
|
|
459
|
+
.then((responseContext) => {
|
|
460
|
+
return this.responseProcessor.makeGCPSTSDelegate(responseContext);
|
|
461
|
+
});
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
/**
|
|
465
|
+
* Update an STS enabled service account.
|
|
466
|
+
* @param param The request object
|
|
467
|
+
*/
|
|
468
|
+
updateGCPSTSAccount(param, options) {
|
|
469
|
+
const requestContextPromise = this.requestFactory.updateGCPSTSAccount(param.accountId, param.body, options);
|
|
470
|
+
return requestContextPromise.then((requestContext) => {
|
|
471
|
+
return this.configuration.httpApi
|
|
472
|
+
.send(requestContext)
|
|
473
|
+
.then((responseContext) => {
|
|
474
|
+
return this.responseProcessor.updateGCPSTSAccount(responseContext);
|
|
475
|
+
});
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
exports.GCPIntegrationApi = GCPIntegrationApi;
|
|
480
|
+
//# sourceMappingURL=GCPIntegrationApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GCPIntegrationApi.js","sourceRoot":"","sources":["../../../../packages/datadog-api-client-v2/apis/GCPIntegrationApi.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qEAGiD;AACjD,iFAIuD;AACvD,oEAImD;AAEnD,4CAAyC;AACzC,iEAA8D;AAC9D,yEAAyE;AASzE,MAAa,+BAAgC,SAAQ,+BAAqB;IAC3D,mBAAmB,CAC9B,IAAuC,EACvC,QAAwB;;YAExB,MAAM,OAAO,GAAG,QAAQ,IAAI,IAAI,CAAC,aAAa,CAAC;YAE/C,4DAA4D;YAC5D,IAAI,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,EAAE;gBACvC,MAAM,IAAI,uBAAa,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;aACxD;YAED,cAAc;YACd,MAAM,YAAY,GAAG,kCAAkC,CAAC;YAExD,uBAAuB;YACvB,MAAM,cAAc,GAAG,IAAA,yBAAS,EAC9B,OAAO,EACP,0CAA0C,CAC3C,CAAC,kBAAkB,CAAC,YAAY,EAAE,iBAAU,CAAC,IAAI,CAAC,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,QAAQ,EAAE,kBAAkB,CAAC,CAAC;YAC5D,cAAc,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;YAEjD,cAAc;YACd,MAAM,WAAW,GAAG,mCAAgB,CAAC,qBAAqB,CAAC;gBACzD,kBAAkB;aACnB,CAAC,CAAC;YACH,cAAc,CAAC,cAAc,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;YAC3D,MAAM,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,CAAC,cAAc,EAAE,EAAE;YACnD,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO;iBAC9B,IAAI,CAAC,cAAc,CAAC;iBACpB,IAAI,CAAC,CAAC,eAAe,EAAE,EAAE;gBACxB,OAAO,IAAI,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,eAAe,CAAC,CAAC;YACpE,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACI,mBAAmB,CACxB,KAAkD,EAClD,OAAuB;QAEvB,MAAM,qBAAqB,GAAG,IAAI,CAAC,cAAc,CAAC,mBAAmB,CACnE,KAAK,CAAC,SAAS,EACf,KAAK,CAAC,IAAI,EACV,OAAO,CACR,CAAC;QACF,OAAO,qBAAqB,CAAC,IAAI,CAAC,CAAC,cAAc,EAAE,EAAE;YACnD,OAAO,IAAI,CAAC,aAAa,CAAC,OAAO;iBAC9B,IAAI,CAAC,cAAc,CAAC;iBACpB,IAAI,CAAC,CAAC,eAAe,EAAE,EAAE;gBACxB,OAAO,IAAI,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC;YACrE,CAAC,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACL,CAAC;CACF;AAzID,8CAyIC"}
|
|
@@ -183,7 +183,7 @@ export declare class LogsApi {
|
|
|
183
183
|
*
|
|
184
184
|
* Datadog recommends sending your logs compressed.
|
|
185
185
|
* Add the `Content-Encoding: gzip` header to the request when sending compressed logs.
|
|
186
|
-
* Log events can be submitted
|
|
186
|
+
* Log events can be submitted with a timestamp that is up to 18 hours in the past.
|
|
187
187
|
*
|
|
188
188
|
* The status codes answered by the HTTP API are:
|
|
189
189
|
* - 202: Accepted: the request has been accepted for processing
|