@datadog/datadog-api-client 1.25.0 → 1.27.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 +68 -0
- package/dist/packages/datadog-api-client-common/configuration.d.ts +4 -0
- package/dist/packages/datadog-api-client-common/configuration.js +3 -1
- package/dist/packages/datadog-api-client-common/configuration.js.map +1 -1
- package/dist/packages/datadog-api-client-common/http/isomorphic-fetch.d.ts +4 -0
- package/dist/packages/datadog-api-client-common/http/isomorphic-fetch.js +22 -7
- package/dist/packages/datadog-api-client-common/http/isomorphic-fetch.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.js +0 -1
- package/dist/packages/datadog-api-client-v1/apis/AWSLogsIntegrationApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/HostsApi.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.d.ts +17 -7
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js +12 -1
- package/dist/packages/datadog-api-client-v1/apis/MonitorsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js +1 -0
- package/dist/packages/datadog-api-client-v1/apis/SyntheticsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.d.ts +12 -2
- package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js +10 -4
- package/dist/packages/datadog-api-client-v1/apis/UsageMeteringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/index.d.ts +14 -1
- package/dist/packages/datadog-api-client-v1/index.js +26 -14
- package/dist/packages/datadog-api-client-v1/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/AzureAccount.d.ts +8 -0
- package/dist/packages/datadog-api-client-v1/models/AzureAccount.js +4 -5
- package/dist/packages/datadog-api-client-v1/models/AzureAccount.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/AzureAccountMetricsConfig.d.ts +39 -0
- package/dist/packages/datadog-api-client-v1/models/AzureAccountMetricsConfig.js +38 -0
- package/dist/packages/datadog-api-client-v1/models/AzureAccountMetricsConfig.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/Event.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmDependencyStatsQueryDefinition.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmDependencyStatsQueryDefinition.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmDependencyStatsQueryDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionApmResourceStatsQueryDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionCloudCostQueryDefinition.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionCloudCostQueryDefinition.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionCloudCostQueryDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinition.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinition.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventQueryDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionEventsDataSource.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionMetricQueryDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionProcessQueryDefinition.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionProcessQueryDefinition.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionProcessQueryDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryDefinition.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryDefinition.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryDefinition.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryType.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryType.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaAndFunctionSLOQueryType.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/FormulaType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaType.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/FormulaType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequest.d.ts +5 -0
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequest.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/GeomapWidgetRequest.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/GroupType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/models/GroupType.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/GroupType.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/ListStreamSource.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/ListStreamSource.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/ListStreamSource.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventsDataSource.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventsDataSource.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorFormulaAndFunctionEventsDataSource.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorType.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorType.js +2 -1
- package/dist/packages/datadog-api-client-v1/models/MonitorType.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 +18 -2
- 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/ObjectSerializer.js +34 -4
- package/dist/packages/datadog-api-client-v1/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIStep.d.ts +5 -63
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIStep.js +0 -59
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIStep.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestStep.d.ts +70 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestStep.js +62 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/{SyntheticsAPIStepSubtype.d.ts → SyntheticsAPITestStepSubtype.d.ts} +2 -2
- package/dist/packages/datadog-api-client-v1/models/{SyntheticsAPIStepSubtype.js → SyntheticsAPITestStepSubtype.js} +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPITestStepSubtype.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIWaitStep.d.ts +45 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIWaitStep.js +42 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIWaitStep.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIWaitStepSubtype.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIWaitStepSubtype.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIWaitStepSubtype.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertion.d.ts +2 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionBodyHashOperator.d.ts +13 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionBodyHashOperator.js +12 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionBodyHashOperator.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionBodyHashTarget.d.ts +46 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionBodyHashTarget.js +41 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionBodyHashTarget.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionBodyHashType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionBodyHashType.js +10 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionBodyHashType.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTargetTarget.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTargetTarget.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAssertionJSONPathTargetTarget.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthDigest.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthDigest.js +1 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthDigest.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthClient.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthClient.js +1 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthClient.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthROP.d.ts +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthROP.js +1 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsBasicAuthOauthROP.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsPayload.d.ts +5 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsPayload.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsDeleteTestsPayload.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestOptions.d.ts +8 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestOptions.js +8 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestOptions.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequestBodyFile.d.ts +4 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequestBodyFile.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/SyntheticsTestRequestBodyFile.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/TableWidgetRequest.d.ts +5 -0
- package/dist/packages/datadog-api-client-v1/models/TableWidgetRequest.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/TableWidgetRequest.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/ToplistWidgetRequest.d.ts +5 -0
- package/dist/packages/datadog-api-client-v1/models/ToplistWidgetRequest.js +4 -0
- package/dist/packages/datadog-api-client-v1/models/ToplistWidgetRequest.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageBillableSummaryHour.d.ts +8 -0
- package/dist/packages/datadog-api-client-v1/models/UsageBillableSummaryHour.js +8 -0
- package/dist/packages/datadog-api-client-v1/models/UsageBillableSummaryHour.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageRumSessionsHour.d.ts +7 -7
- package/dist/packages/datadog-api-client-v1/models/UsageRumSessionsHour.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageRumSessionsResponse.d.ts +2 -2
- package/dist/packages/datadog-api-client-v1/models/UsageRumSessionsResponse.js +1 -1
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.d.ts +101 -17
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDate.js +105 -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 +110 -18
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryDateOrg.js +113 -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 +104 -20
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js +105 -0
- package/dist/packages/datadog-api-client-v1/models/UsageSummaryResponse.js.map +1 -1
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaSort.d.ts +46 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaSort.js +42 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetFormulaSort.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetGroupSort.d.ts +46 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetGroupSort.js +41 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetGroupSort.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetSortBy.d.ts +41 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetSortBy.js +35 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetSortBy.js.map +1 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetSortOrderBy.d.ts +12 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetSortOrderBy.js +3 -0
- package/dist/packages/datadog-api-client-v1/models/WidgetSortOrderBy.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/APIManagementApi.d.ts +34 -2
- package/dist/packages/datadog-api-client-v2/apis/APIManagementApi.js +101 -2
- package/dist/packages/datadog-api-client-v2/apis/APIManagementApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/AuthNMappingsApi.d.ts +7 -1
- package/dist/packages/datadog-api-client-v2/apis/AuthNMappingsApi.js +5 -2
- package/dist/packages/datadog-api-client-v2/apis/AuthNMappingsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/CaseManagementApi.js +13 -0
- package/dist/packages/datadog-api-client-v2/apis/CaseManagementApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.d.ts +80 -0
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js +294 -0
- package/dist/packages/datadog-api-client-v2/apis/CloudCostManagementApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/NetworkDeviceMonitoringApi.d.ts +141 -0
- package/dist/packages/datadog-api-client-v2/apis/NetworkDeviceMonitoringApi.js +428 -0
- package/dist/packages/datadog-api-client-v2/apis/NetworkDeviceMonitoringApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.d.ts +63 -0
- package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.js +234 -0
- package/dist/packages/datadog-api-client-v2/apis/OrganizationsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.d.ts +15 -7
- package/dist/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.js +15 -7
- package/dist/packages/datadog-api-client-v2/apis/RestrictionPoliciesApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.d.ts +96 -3
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js +335 -1
- package/dist/packages/datadog-api-client-v2/apis/SecurityMonitoringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.d.ts +29 -1
- package/dist/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.js +90 -0
- package/dist/packages/datadog-api-client-v2/apis/ServiceScorecardsApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.d.ts +24 -4
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js +20 -8
- package/dist/packages/datadog-api-client-v2/apis/UsageMeteringApi.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/apis/WorkflowAutomationApi.d.ts +126 -0
- package/dist/packages/datadog-api-client-v2/apis/WorkflowAutomationApi.js +365 -0
- package/dist/packages/datadog-api-client-v2/apis/WorkflowAutomationApi.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/index.d.ts +80 -5
- package/dist/packages/datadog-api-client-v2/index.js +161 -24
- package/dist/packages/datadog-api-client-v2/index.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/APIKeyRelationships.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/APIKeyRelationships.js +1 -1
- package/dist/packages/datadog-api-client-v2/models/APIKeyRelationships.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/AuthNMappingResourceType.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/AuthNMappingResourceType.js +11 -0
- package/dist/packages/datadog-api-client-v2/models/AuthNMappingResourceType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudConfigurationRulePayload.d.ts +73 -0
- package/dist/packages/datadog-api-client-v2/models/CloudConfigurationRulePayload.js +68 -0
- package/dist/packages/datadog-api-client-v2/models/CloudConfigurationRulePayload.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/CloudWorkloadSecurityAgentRuleCreateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CostByOrgAttributes.d.ts +8 -0
- package/dist/packages/datadog-api-client-v2/models/CostByOrgAttributes.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/CostByOrgAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/CustomCostGetResponseMeta.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostGetResponseMeta.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostGetResponseMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostListResponseMeta.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostListResponseMeta.js +40 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostListResponseMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostUploadResponseMeta.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostUploadResponseMeta.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostUploadResponseMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileGetResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileGetResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileGetResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileLineItem.d.ts +62 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileLineItem.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileLineItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileListResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileListResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadata.d.ts +66 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadata.js +60 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadata.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadataHighLevel.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadataHighLevel.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadataHighLevel.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadataWithContent.d.ts +71 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadataWithContent.js +64 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadataWithContent.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadataWithContentHighLevel.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadataWithContentHighLevel.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileMetadataWithContentHighLevel.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileUploadResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileUploadResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileUploadResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileUsageChargePeriod.d.ts +40 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileUsageChargePeriod.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsFileUsageChargePeriod.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsUser.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsUser.js +43 -0
- package/dist/packages/datadog-api-client-v2/models/CustomCostsUser.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DORADeploymentRequestAttributes.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/DORAIncidentRequestAttributes.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/DeviceAttributes.d.ts +113 -0
- package/dist/packages/datadog-api-client-v2/models/DeviceAttributes.js +106 -0
- package/dist/packages/datadog-api-client-v2/models/DeviceAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DeviceAttributesInterfaceStatuses.d.ts +48 -0
- package/dist/packages/datadog-api-client-v2/models/DeviceAttributesInterfaceStatuses.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/DeviceAttributesInterfaceStatuses.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/DevicesListData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/DevicesListData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/DevicesListData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/EventsGroupBy.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/EventsGroupBy.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.js +2 -1
- package/dist/packages/datadog-api-client-v2/models/FullApplicationKeyAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/GetDeviceAttributes.d.ts +108 -0
- package/dist/packages/datadog-api-client-v2/models/GetDeviceAttributes.js +107 -0
- package/dist/packages/datadog-api-client-v2/models/GetDeviceAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetDeviceData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/GetDeviceData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/GetDeviceData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetDeviceResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GetDeviceResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GetDeviceResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetInterfacesData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/GetInterfacesData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/GetInterfacesData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/GetInterfacesResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/GetInterfacesResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/GetInterfacesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/HourlyUsageAttributes.d.ts +8 -0
- package/dist/packages/datadog-api-client-v2/models/HourlyUsageAttributes.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/HourlyUsageAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/InterfaceAttributes.d.ts +57 -0
- package/dist/packages/datadog-api-client-v2/models/InterfaceAttributes.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/InterfaceAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/InterfaceAttributesStatus.d.ts +14 -0
- package/dist/packages/datadog-api-client-v2/models/InterfaceAttributesStatus.js +13 -0
- package/dist/packages/datadog-api-client-v2/models/InterfaceAttributesStatus.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseData.d.ts +41 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseData.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseDataAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseDataAttributes.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseMeta.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseMeta.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseMetaPagination.d.ts +44 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseMetaPagination.js +46 -0
- package/dist/packages/datadog-api-client-v2/models/ListAPIsResponseMetaPagination.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListDevicesResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/ListDevicesResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/ListDevicesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListDevicesResponseMetadata.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ListDevicesResponseMetadata.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ListDevicesResponseMetadata.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListDevicesResponseMetadataPage.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ListDevicesResponseMetadataPage.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/ListDevicesResponseMetadataPage.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListTagsResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/ListTagsResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/ListTagsResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListTagsResponseData.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/ListTagsResponseData.js +38 -0
- package/dist/packages/datadog-api-client-v2/models/ListTagsResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ListTagsResponseDataAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/ListTagsResponseDataAttributes.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/ListTagsResponseDataAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js +149 -0
- package/dist/packages/datadog-api-client-v2/models/ObjectSerializer.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/OrgConfigGetResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigGetResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigGetResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigListResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigListResponse.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigListResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigRead.d.ts +46 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigRead.js +41 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigRead.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigReadAttributes.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigReadAttributes.js +56 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigReadAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigType.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigType.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigType.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigWrite.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigWrite.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigWrite.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigWriteAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigWriteAttributes.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigWriteAttributes.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigWriteRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigWriteRequest.js +31 -0
- package/dist/packages/datadog-api-client-v2/models/OrgConfigWriteRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/ProjectedCostAttributes.d.ts +8 -0
- package/dist/packages/datadog-api-client-v2/models/ProjectedCostAttributes.js +8 -0
- package/dist/packages/datadog-api-client-v2/models/ProjectedCostAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/RUMApplicationAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/RUMApplicationCreateAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/RUMApplicationListAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/RUMApplicationUpdateAttributes.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/RoleRelationships.d.ts +0 -5
- package/dist/packages/datadog-api-client-v2/models/RoleRelationships.js +0 -4
- package/dist/packages/datadog-api-client-v2/models/RoleRelationships.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/RoleUpdateAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/RoleUpdateAttributes.js +5 -0
- package/dist/packages/datadog-api-client-v2/models/RoleUpdateAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleConvertPayload.d.ts +12 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleConvertPayload.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleConvertPayload.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleConvertResponse.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleConvertResponse.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleConvertResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleDetectionMethod.d.ts +2 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleDetectionMethod.js +2 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleDetectionMethod.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleEvaluationWindow.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleKeepAlive.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleOptions.d.ts +2 -2
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryPayload.d.ts +45 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryPayload.js +39 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryPayload.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryPayloadData.d.ts +52 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryPayloadData.js +51 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleQueryPayloadData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTestPayload.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTestPayload.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTestPayload.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTestRequest.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTestRequest.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTestRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTestResponse.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTestResponse.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTestResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTypeTest.d.ts +11 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTypeTest.js +10 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleTypeTest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleUpdatePayload.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleValidatePayload.d.ts +13 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleValidatePayload.js +3 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringRuleValidatePayload.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRulePayload.d.ts +77 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRulePayload.js +72 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringSignalRulePayload.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleCreatePayload.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRulePayload.d.ts +82 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRulePayload.js +76 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRulePayload.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleResponse.d.ts +1 -1
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleTestPayload.d.ts +82 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleTestPayload.js +76 -0
- package/dist/packages/datadog-api-client-v2/models/SecurityMonitoringStandardRuleTestPayload.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamLinkAttributes.js +1 -0
- package/dist/packages/datadog-api-client-v2/models/TeamLinkAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleRequestData.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleRequestData.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleRequestData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleResponseData.d.ts +51 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleResponseData.js +42 -0
- package/dist/packages/datadog-api-client-v2/models/UpdateRuleResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/UserAttributes.d.ts +4 -0
- package/dist/packages/datadog-api-client-v2/models/UserAttributes.js +4 -0
- package/dist/packages/datadog-api-client-v2/models/UserAttributes.js.map +1 -1
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateMeta.d.ts +38 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateMeta.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateRequest.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateRequest.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateRequest.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateResponseData.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateResponseData.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceCreateResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceListItem.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceListItem.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowInstanceListItem.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowListInstancesResponse.d.ts +42 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowListInstancesResponse.js +34 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowListInstancesResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowListInstancesResponseMeta.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowListInstancesResponseMeta.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowListInstancesResponseMeta.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowListInstancesResponseMetaPage.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowListInstancesResponseMetaPage.js +36 -0
- package/dist/packages/datadog-api-client-v2/models/WorkflowListInstancesResponseMetaPage.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowCancelInstanceResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowCancelInstanceResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowCancelInstanceResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowCancelInstanceResponseData.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowCancelInstanceResponseData.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowCancelInstanceResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowGetInstanceResponse.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowGetInstanceResponse.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowGetInstanceResponse.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowGetInstanceResponseData.d.ts +37 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowGetInstanceResponseData.js +30 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowGetInstanceResponseData.js.map +1 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowGetInstanceResponseDataAttributes.d.ts +36 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowGetInstanceResponseDataAttributes.js +35 -0
- package/dist/packages/datadog-api-client-v2/models/WorklflowGetInstanceResponseDataAttributes.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/packages/datadog-api-client-v1/models/SyntheticsAPIStepSubtype.js.map +0 -1
|
@@ -11,17 +11,25 @@ import { AzureUCConfigPatchRequest } from "../models/AzureUCConfigPatchRequest";
|
|
|
11
11
|
import { AzureUCConfigPostRequest } from "../models/AzureUCConfigPostRequest";
|
|
12
12
|
import { AzureUCConfigsResponse } from "../models/AzureUCConfigsResponse";
|
|
13
13
|
import { CloudCostActivityResponse } from "../models/CloudCostActivityResponse";
|
|
14
|
+
import { CustomCostsFileGetResponse } from "../models/CustomCostsFileGetResponse";
|
|
15
|
+
import { CustomCostsFileLineItem } from "../models/CustomCostsFileLineItem";
|
|
16
|
+
import { CustomCostsFileListResponse } from "../models/CustomCostsFileListResponse";
|
|
17
|
+
import { CustomCostsFileUploadResponse } from "../models/CustomCostsFileUploadResponse";
|
|
14
18
|
export declare class CloudCostManagementApiRequestFactory extends BaseAPIRequestFactory {
|
|
15
19
|
createCostAWSCURConfig(body: AwsCURConfigPostRequest, _options?: Configuration): Promise<RequestContext>;
|
|
16
20
|
createCostAzureUCConfigs(body: AzureUCConfigPostRequest, _options?: Configuration): Promise<RequestContext>;
|
|
17
21
|
deleteCostAWSCURConfig(cloudAccountId: string, _options?: Configuration): Promise<RequestContext>;
|
|
18
22
|
deleteCostAzureUCConfig(cloudAccountId: string, _options?: Configuration): Promise<RequestContext>;
|
|
23
|
+
deleteCustomCostsFile(fileId: string, _options?: Configuration): Promise<RequestContext>;
|
|
19
24
|
getCloudCostActivity(_options?: Configuration): Promise<RequestContext>;
|
|
25
|
+
getCustomCostsFile(fileId: string, _options?: Configuration): Promise<RequestContext>;
|
|
20
26
|
listAWSRelatedAccounts(filterManagementAccountId: string, _options?: Configuration): Promise<RequestContext>;
|
|
21
27
|
listCostAWSCURConfigs(_options?: Configuration): Promise<RequestContext>;
|
|
22
28
|
listCostAzureUCConfigs(_options?: Configuration): Promise<RequestContext>;
|
|
29
|
+
listCustomCostsFiles(_options?: Configuration): Promise<RequestContext>;
|
|
23
30
|
updateCostAWSCURConfig(cloudAccountId: string, body: AwsCURConfigPatchRequest, _options?: Configuration): Promise<RequestContext>;
|
|
24
31
|
updateCostAzureUCConfigs(cloudAccountId: string, body: AzureUCConfigPatchRequest, _options?: Configuration): Promise<RequestContext>;
|
|
32
|
+
uploadCustomCostsFile(body: Array<CustomCostsFileLineItem>, _options?: Configuration): Promise<RequestContext>;
|
|
25
33
|
}
|
|
26
34
|
export declare class CloudCostManagementApiResponseProcessor {
|
|
27
35
|
/**
|
|
@@ -56,6 +64,14 @@ export declare class CloudCostManagementApiResponseProcessor {
|
|
|
56
64
|
* @throws ApiException if the response code was not in [200, 299]
|
|
57
65
|
*/
|
|
58
66
|
deleteCostAzureUCConfig(response: ResponseContext): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
69
|
+
* to the expected objects
|
|
70
|
+
*
|
|
71
|
+
* @params response Response returned by the server for a request to deleteCustomCostsFile
|
|
72
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
73
|
+
*/
|
|
74
|
+
deleteCustomCostsFile(response: ResponseContext): Promise<void>;
|
|
59
75
|
/**
|
|
60
76
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
61
77
|
* to the expected objects
|
|
@@ -64,6 +80,14 @@ export declare class CloudCostManagementApiResponseProcessor {
|
|
|
64
80
|
* @throws ApiException if the response code was not in [200, 299]
|
|
65
81
|
*/
|
|
66
82
|
getCloudCostActivity(response: ResponseContext): Promise<CloudCostActivityResponse>;
|
|
83
|
+
/**
|
|
84
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
85
|
+
* to the expected objects
|
|
86
|
+
*
|
|
87
|
+
* @params response Response returned by the server for a request to getCustomCostsFile
|
|
88
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
89
|
+
*/
|
|
90
|
+
getCustomCostsFile(response: ResponseContext): Promise<CustomCostsFileGetResponse>;
|
|
67
91
|
/**
|
|
68
92
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
69
93
|
* to the expected objects
|
|
@@ -88,6 +112,14 @@ export declare class CloudCostManagementApiResponseProcessor {
|
|
|
88
112
|
* @throws ApiException if the response code was not in [200, 299]
|
|
89
113
|
*/
|
|
90
114
|
listCostAzureUCConfigs(response: ResponseContext): Promise<AzureUCConfigsResponse>;
|
|
115
|
+
/**
|
|
116
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
117
|
+
* to the expected objects
|
|
118
|
+
*
|
|
119
|
+
* @params response Response returned by the server for a request to listCustomCostsFiles
|
|
120
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
121
|
+
*/
|
|
122
|
+
listCustomCostsFiles(response: ResponseContext): Promise<CustomCostsFileListResponse>;
|
|
91
123
|
/**
|
|
92
124
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
93
125
|
* to the expected objects
|
|
@@ -104,6 +136,14 @@ export declare class CloudCostManagementApiResponseProcessor {
|
|
|
104
136
|
* @throws ApiException if the response code was not in [200, 299]
|
|
105
137
|
*/
|
|
106
138
|
updateCostAzureUCConfigs(response: ResponseContext): Promise<AzureUCConfigPairsResponse>;
|
|
139
|
+
/**
|
|
140
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
141
|
+
* to the expected objects
|
|
142
|
+
*
|
|
143
|
+
* @params response Response returned by the server for a request to uploadCustomCostsFile
|
|
144
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
145
|
+
*/
|
|
146
|
+
uploadCustomCostsFile(response: ResponseContext): Promise<CustomCostsFileUploadResponse>;
|
|
107
147
|
}
|
|
108
148
|
export interface CloudCostManagementApiCreateCostAWSCURConfigRequest {
|
|
109
149
|
/**
|
|
@@ -131,6 +171,20 @@ export interface CloudCostManagementApiDeleteCostAzureUCConfigRequest {
|
|
|
131
171
|
*/
|
|
132
172
|
cloudAccountId: string;
|
|
133
173
|
}
|
|
174
|
+
export interface CloudCostManagementApiDeleteCustomCostsFileRequest {
|
|
175
|
+
/**
|
|
176
|
+
* File ID.
|
|
177
|
+
* @type string
|
|
178
|
+
*/
|
|
179
|
+
fileId: string;
|
|
180
|
+
}
|
|
181
|
+
export interface CloudCostManagementApiGetCustomCostsFileRequest {
|
|
182
|
+
/**
|
|
183
|
+
* File ID.
|
|
184
|
+
* @type string
|
|
185
|
+
*/
|
|
186
|
+
fileId: string;
|
|
187
|
+
}
|
|
134
188
|
export interface CloudCostManagementApiListAWSRelatedAccountsRequest {
|
|
135
189
|
/**
|
|
136
190
|
* The ID of the management account to filter by.
|
|
@@ -160,6 +214,12 @@ export interface CloudCostManagementApiUpdateCostAzureUCConfigsRequest {
|
|
|
160
214
|
*/
|
|
161
215
|
body: AzureUCConfigPatchRequest;
|
|
162
216
|
}
|
|
217
|
+
export interface CloudCostManagementApiUploadCustomCostsFileRequest {
|
|
218
|
+
/**
|
|
219
|
+
* @type Array<CustomCostsFileLineItem>
|
|
220
|
+
*/
|
|
221
|
+
body: Array<CustomCostsFileLineItem>;
|
|
222
|
+
}
|
|
163
223
|
export declare class CloudCostManagementApi {
|
|
164
224
|
private requestFactory;
|
|
165
225
|
private responseProcessor;
|
|
@@ -185,11 +245,21 @@ export declare class CloudCostManagementApi {
|
|
|
185
245
|
* @param param The request object
|
|
186
246
|
*/
|
|
187
247
|
deleteCostAzureUCConfig(param: CloudCostManagementApiDeleteCostAzureUCConfigRequest, options?: Configuration): Promise<void>;
|
|
248
|
+
/**
|
|
249
|
+
* Delete the specified Custom Costs file.
|
|
250
|
+
* @param param The request object
|
|
251
|
+
*/
|
|
252
|
+
deleteCustomCostsFile(param: CloudCostManagementApiDeleteCustomCostsFileRequest, options?: Configuration): Promise<void>;
|
|
188
253
|
/**
|
|
189
254
|
* Get the Cloud Cost Management activity.
|
|
190
255
|
* @param param The request object
|
|
191
256
|
*/
|
|
192
257
|
getCloudCostActivity(options?: Configuration): Promise<CloudCostActivityResponse>;
|
|
258
|
+
/**
|
|
259
|
+
* Fetch the specified Custom Costs file.
|
|
260
|
+
* @param param The request object
|
|
261
|
+
*/
|
|
262
|
+
getCustomCostsFile(param: CloudCostManagementApiGetCustomCostsFileRequest, options?: Configuration): Promise<CustomCostsFileGetResponse>;
|
|
193
263
|
/**
|
|
194
264
|
* List the AWS accounts in an organization by calling 'organizations:ListAccounts' from the specified management account.
|
|
195
265
|
* @param param The request object
|
|
@@ -205,6 +275,11 @@ export declare class CloudCostManagementApi {
|
|
|
205
275
|
* @param param The request object
|
|
206
276
|
*/
|
|
207
277
|
listCostAzureUCConfigs(options?: Configuration): Promise<AzureUCConfigsResponse>;
|
|
278
|
+
/**
|
|
279
|
+
* List the Custom Costs files.
|
|
280
|
+
* @param param The request object
|
|
281
|
+
*/
|
|
282
|
+
listCustomCostsFiles(options?: Configuration): Promise<CustomCostsFileListResponse>;
|
|
208
283
|
/**
|
|
209
284
|
* Update the status of an AWS CUR config (active/archived).
|
|
210
285
|
* @param param The request object
|
|
@@ -215,4 +290,9 @@ export declare class CloudCostManagementApi {
|
|
|
215
290
|
* @param param The request object
|
|
216
291
|
*/
|
|
217
292
|
updateCostAzureUCConfigs(param: CloudCostManagementApiUpdateCostAzureUCConfigsRequest, options?: Configuration): Promise<AzureUCConfigPairsResponse>;
|
|
293
|
+
/**
|
|
294
|
+
* Upload a Custom Costs file.
|
|
295
|
+
* @param param The request object
|
|
296
|
+
*/
|
|
297
|
+
uploadCustomCostsFile(param: CloudCostManagementApiUploadCustomCostsFileRequest, options?: Configuration): Promise<CustomCostsFileUploadResponse>;
|
|
218
298
|
}
|
|
@@ -127,6 +127,30 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
127
127
|
return requestContext;
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
|
+
deleteCustomCostsFile(fileId, _options) {
|
|
131
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
132
|
+
const _config = _options || this.configuration;
|
|
133
|
+
// verify required parameter 'fileId' is not null or undefined
|
|
134
|
+
if (fileId === null || fileId === undefined) {
|
|
135
|
+
throw new baseapi_1.RequiredError("fileId", "deleteCustomCostsFile");
|
|
136
|
+
}
|
|
137
|
+
// Path Params
|
|
138
|
+
const localVarPath = "/api/v2/cost/custom_costs/{file_id}".replace("{file_id}", encodeURIComponent(String(fileId)));
|
|
139
|
+
// Make Request Context
|
|
140
|
+
const requestContext = _config
|
|
141
|
+
.getServer("v2.CloudCostManagementApi.deleteCustomCostsFile")
|
|
142
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.DELETE);
|
|
143
|
+
requestContext.setHeaderParam("Accept", "*/*");
|
|
144
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
145
|
+
// Apply auth methods
|
|
146
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
147
|
+
"AuthZ",
|
|
148
|
+
"apiKeyAuth",
|
|
149
|
+
"appKeyAuth",
|
|
150
|
+
]);
|
|
151
|
+
return requestContext;
|
|
152
|
+
});
|
|
153
|
+
}
|
|
130
154
|
getCloudCostActivity(_options) {
|
|
131
155
|
return __awaiter(this, void 0, void 0, function* () {
|
|
132
156
|
const _config = _options || this.configuration;
|
|
@@ -147,6 +171,30 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
147
171
|
return requestContext;
|
|
148
172
|
});
|
|
149
173
|
}
|
|
174
|
+
getCustomCostsFile(fileId, _options) {
|
|
175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
176
|
+
const _config = _options || this.configuration;
|
|
177
|
+
// verify required parameter 'fileId' is not null or undefined
|
|
178
|
+
if (fileId === null || fileId === undefined) {
|
|
179
|
+
throw new baseapi_1.RequiredError("fileId", "getCustomCostsFile");
|
|
180
|
+
}
|
|
181
|
+
// Path Params
|
|
182
|
+
const localVarPath = "/api/v2/cost/custom_costs/{file_id}".replace("{file_id}", encodeURIComponent(String(fileId)));
|
|
183
|
+
// Make Request Context
|
|
184
|
+
const requestContext = _config
|
|
185
|
+
.getServer("v2.CloudCostManagementApi.getCustomCostsFile")
|
|
186
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
187
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
188
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
189
|
+
// Apply auth methods
|
|
190
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
191
|
+
"AuthZ",
|
|
192
|
+
"apiKeyAuth",
|
|
193
|
+
"appKeyAuth",
|
|
194
|
+
]);
|
|
195
|
+
return requestContext;
|
|
196
|
+
});
|
|
197
|
+
}
|
|
150
198
|
listAWSRelatedAccounts(filterManagementAccountId, _options) {
|
|
151
199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
152
200
|
const _config = _options || this.configuration;
|
|
@@ -216,6 +264,26 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
216
264
|
return requestContext;
|
|
217
265
|
});
|
|
218
266
|
}
|
|
267
|
+
listCustomCostsFiles(_options) {
|
|
268
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
269
|
+
const _config = _options || this.configuration;
|
|
270
|
+
// Path Params
|
|
271
|
+
const localVarPath = "/api/v2/cost/custom_costs";
|
|
272
|
+
// Make Request Context
|
|
273
|
+
const requestContext = _config
|
|
274
|
+
.getServer("v2.CloudCostManagementApi.listCustomCostsFiles")
|
|
275
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.GET);
|
|
276
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
277
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
278
|
+
// Apply auth methods
|
|
279
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
280
|
+
"AuthZ",
|
|
281
|
+
"apiKeyAuth",
|
|
282
|
+
"appKeyAuth",
|
|
283
|
+
]);
|
|
284
|
+
return requestContext;
|
|
285
|
+
});
|
|
286
|
+
}
|
|
219
287
|
updateCostAWSCURConfig(cloudAccountId, body, _options) {
|
|
220
288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
221
289
|
const _config = _options || this.configuration;
|
|
@@ -286,6 +354,37 @@ class CloudCostManagementApiRequestFactory extends baseapi_1.BaseAPIRequestFacto
|
|
|
286
354
|
return requestContext;
|
|
287
355
|
});
|
|
288
356
|
}
|
|
357
|
+
uploadCustomCostsFile(body, _options) {
|
|
358
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
359
|
+
const _config = _options || this.configuration;
|
|
360
|
+
// verify required parameter 'body' is not null or undefined
|
|
361
|
+
if (body === null || body === undefined) {
|
|
362
|
+
throw new baseapi_1.RequiredError("body", "uploadCustomCostsFile");
|
|
363
|
+
}
|
|
364
|
+
// Path Params
|
|
365
|
+
const localVarPath = "/api/v2/cost/custom_costs";
|
|
366
|
+
// Make Request Context
|
|
367
|
+
const requestContext = _config
|
|
368
|
+
.getServer("v2.CloudCostManagementApi.uploadCustomCostsFile")
|
|
369
|
+
.makeRequestContext(localVarPath, http_1.HttpMethod.PUT);
|
|
370
|
+
requestContext.setHeaderParam("Accept", "application/json");
|
|
371
|
+
requestContext.setHttpConfig(_config.httpConfig);
|
|
372
|
+
// Body Params
|
|
373
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.getPreferredMediaType([
|
|
374
|
+
"application/json",
|
|
375
|
+
]);
|
|
376
|
+
requestContext.setHeaderParam("Content-Type", contentType);
|
|
377
|
+
const serializedBody = ObjectSerializer_1.ObjectSerializer.stringify(ObjectSerializer_1.ObjectSerializer.serialize(body, "Array<CustomCostsFileLineItem>", ""), contentType);
|
|
378
|
+
requestContext.setBody(serializedBody);
|
|
379
|
+
// Apply auth methods
|
|
380
|
+
(0, configuration_1.applySecurityAuthentication)(_config, requestContext, [
|
|
381
|
+
"AuthZ",
|
|
382
|
+
"apiKeyAuth",
|
|
383
|
+
"appKeyAuth",
|
|
384
|
+
]);
|
|
385
|
+
return requestContext;
|
|
386
|
+
});
|
|
387
|
+
}
|
|
289
388
|
}
|
|
290
389
|
exports.CloudCostManagementApiRequestFactory = CloudCostManagementApiRequestFactory;
|
|
291
390
|
class CloudCostManagementApiResponseProcessor {
|
|
@@ -435,6 +534,40 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
435
534
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
436
535
|
});
|
|
437
536
|
}
|
|
537
|
+
/**
|
|
538
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
539
|
+
* to the expected objects
|
|
540
|
+
*
|
|
541
|
+
* @params response Response returned by the server for a request to deleteCustomCostsFile
|
|
542
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
543
|
+
*/
|
|
544
|
+
deleteCustomCostsFile(response) {
|
|
545
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
546
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
547
|
+
if (response.httpStatusCode === 204) {
|
|
548
|
+
return;
|
|
549
|
+
}
|
|
550
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
551
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
552
|
+
let body;
|
|
553
|
+
try {
|
|
554
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
555
|
+
}
|
|
556
|
+
catch (error) {
|
|
557
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
558
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
559
|
+
}
|
|
560
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
561
|
+
}
|
|
562
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
563
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
564
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "void", "");
|
|
565
|
+
return body;
|
|
566
|
+
}
|
|
567
|
+
const body = (yield response.body.text()) || "";
|
|
568
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
569
|
+
});
|
|
570
|
+
}
|
|
438
571
|
/**
|
|
439
572
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
440
573
|
* to the expected objects
|
|
@@ -470,6 +603,41 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
470
603
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
471
604
|
});
|
|
472
605
|
}
|
|
606
|
+
/**
|
|
607
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
608
|
+
* to the expected objects
|
|
609
|
+
*
|
|
610
|
+
* @params response Response returned by the server for a request to getCustomCostsFile
|
|
611
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
612
|
+
*/
|
|
613
|
+
getCustomCostsFile(response) {
|
|
614
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
615
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
616
|
+
if (response.httpStatusCode === 200) {
|
|
617
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileGetResponse");
|
|
618
|
+
return body;
|
|
619
|
+
}
|
|
620
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
621
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
622
|
+
let body;
|
|
623
|
+
try {
|
|
624
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
625
|
+
}
|
|
626
|
+
catch (error) {
|
|
627
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
628
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
629
|
+
}
|
|
630
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
631
|
+
}
|
|
632
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
633
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
634
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileGetResponse", "");
|
|
635
|
+
return body;
|
|
636
|
+
}
|
|
637
|
+
const body = (yield response.body.text()) || "";
|
|
638
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
639
|
+
});
|
|
640
|
+
}
|
|
473
641
|
/**
|
|
474
642
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
475
643
|
* to the expected objects
|
|
@@ -577,6 +745,41 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
577
745
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
578
746
|
});
|
|
579
747
|
}
|
|
748
|
+
/**
|
|
749
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
750
|
+
* to the expected objects
|
|
751
|
+
*
|
|
752
|
+
* @params response Response returned by the server for a request to listCustomCostsFiles
|
|
753
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
754
|
+
*/
|
|
755
|
+
listCustomCostsFiles(response) {
|
|
756
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
757
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
758
|
+
if (response.httpStatusCode === 200) {
|
|
759
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileListResponse");
|
|
760
|
+
return body;
|
|
761
|
+
}
|
|
762
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
763
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
764
|
+
let body;
|
|
765
|
+
try {
|
|
766
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
767
|
+
}
|
|
768
|
+
catch (error) {
|
|
769
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
770
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
771
|
+
}
|
|
772
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
773
|
+
}
|
|
774
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
775
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
776
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileListResponse", "");
|
|
777
|
+
return body;
|
|
778
|
+
}
|
|
779
|
+
const body = (yield response.body.text()) || "";
|
|
780
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
781
|
+
});
|
|
782
|
+
}
|
|
580
783
|
/**
|
|
581
784
|
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
582
785
|
* to the expected objects
|
|
@@ -649,6 +852,41 @@ class CloudCostManagementApiResponseProcessor {
|
|
|
649
852
|
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
650
853
|
});
|
|
651
854
|
}
|
|
855
|
+
/**
|
|
856
|
+
* Unwraps the actual response sent by the server from the response context and deserializes the response content
|
|
857
|
+
* to the expected objects
|
|
858
|
+
*
|
|
859
|
+
* @params response Response returned by the server for a request to uploadCustomCostsFile
|
|
860
|
+
* @throws ApiException if the response code was not in [200, 299]
|
|
861
|
+
*/
|
|
862
|
+
uploadCustomCostsFile(response) {
|
|
863
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
864
|
+
const contentType = ObjectSerializer_1.ObjectSerializer.normalizeMediaType(response.headers["content-type"]);
|
|
865
|
+
if (response.httpStatusCode === 202) {
|
|
866
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileUploadResponse");
|
|
867
|
+
return body;
|
|
868
|
+
}
|
|
869
|
+
if (response.httpStatusCode === 403 || response.httpStatusCode === 429) {
|
|
870
|
+
const bodyText = ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType);
|
|
871
|
+
let body;
|
|
872
|
+
try {
|
|
873
|
+
body = ObjectSerializer_1.ObjectSerializer.deserialize(bodyText, "APIErrorResponse");
|
|
874
|
+
}
|
|
875
|
+
catch (error) {
|
|
876
|
+
logger_1.logger.debug(`Got error deserializing error: ${error}`);
|
|
877
|
+
throw new exception_1.ApiException(response.httpStatusCode, bodyText);
|
|
878
|
+
}
|
|
879
|
+
throw new exception_1.ApiException(response.httpStatusCode, body);
|
|
880
|
+
}
|
|
881
|
+
// Work around for missing responses in specification, e.g. for petstore.yaml
|
|
882
|
+
if (response.httpStatusCode >= 200 && response.httpStatusCode <= 299) {
|
|
883
|
+
const body = ObjectSerializer_1.ObjectSerializer.deserialize(ObjectSerializer_1.ObjectSerializer.parse(yield response.body.text(), contentType), "CustomCostsFileUploadResponse", "");
|
|
884
|
+
return body;
|
|
885
|
+
}
|
|
886
|
+
const body = (yield response.body.text()) || "";
|
|
887
|
+
throw new exception_1.ApiException(response.httpStatusCode, 'Unknown API Status Code!\nBody: "' + body + '"');
|
|
888
|
+
});
|
|
889
|
+
}
|
|
652
890
|
}
|
|
653
891
|
exports.CloudCostManagementApiResponseProcessor = CloudCostManagementApiResponseProcessor;
|
|
654
892
|
class CloudCostManagementApi {
|
|
@@ -715,6 +953,20 @@ class CloudCostManagementApi {
|
|
|
715
953
|
});
|
|
716
954
|
});
|
|
717
955
|
}
|
|
956
|
+
/**
|
|
957
|
+
* Delete the specified Custom Costs file.
|
|
958
|
+
* @param param The request object
|
|
959
|
+
*/
|
|
960
|
+
deleteCustomCostsFile(param, options) {
|
|
961
|
+
const requestContextPromise = this.requestFactory.deleteCustomCostsFile(param.fileId, options);
|
|
962
|
+
return requestContextPromise.then((requestContext) => {
|
|
963
|
+
return this.configuration.httpApi
|
|
964
|
+
.send(requestContext)
|
|
965
|
+
.then((responseContext) => {
|
|
966
|
+
return this.responseProcessor.deleteCustomCostsFile(responseContext);
|
|
967
|
+
});
|
|
968
|
+
});
|
|
969
|
+
}
|
|
718
970
|
/**
|
|
719
971
|
* Get the Cloud Cost Management activity.
|
|
720
972
|
* @param param The request object
|
|
@@ -729,6 +981,20 @@ class CloudCostManagementApi {
|
|
|
729
981
|
});
|
|
730
982
|
});
|
|
731
983
|
}
|
|
984
|
+
/**
|
|
985
|
+
* Fetch the specified Custom Costs file.
|
|
986
|
+
* @param param The request object
|
|
987
|
+
*/
|
|
988
|
+
getCustomCostsFile(param, options) {
|
|
989
|
+
const requestContextPromise = this.requestFactory.getCustomCostsFile(param.fileId, options);
|
|
990
|
+
return requestContextPromise.then((requestContext) => {
|
|
991
|
+
return this.configuration.httpApi
|
|
992
|
+
.send(requestContext)
|
|
993
|
+
.then((responseContext) => {
|
|
994
|
+
return this.responseProcessor.getCustomCostsFile(responseContext);
|
|
995
|
+
});
|
|
996
|
+
});
|
|
997
|
+
}
|
|
732
998
|
/**
|
|
733
999
|
* List the AWS accounts in an organization by calling 'organizations:ListAccounts' from the specified management account.
|
|
734
1000
|
* @param param The request object
|
|
@@ -771,6 +1037,20 @@ class CloudCostManagementApi {
|
|
|
771
1037
|
});
|
|
772
1038
|
});
|
|
773
1039
|
}
|
|
1040
|
+
/**
|
|
1041
|
+
* List the Custom Costs files.
|
|
1042
|
+
* @param param The request object
|
|
1043
|
+
*/
|
|
1044
|
+
listCustomCostsFiles(options) {
|
|
1045
|
+
const requestContextPromise = this.requestFactory.listCustomCostsFiles(options);
|
|
1046
|
+
return requestContextPromise.then((requestContext) => {
|
|
1047
|
+
return this.configuration.httpApi
|
|
1048
|
+
.send(requestContext)
|
|
1049
|
+
.then((responseContext) => {
|
|
1050
|
+
return this.responseProcessor.listCustomCostsFiles(responseContext);
|
|
1051
|
+
});
|
|
1052
|
+
});
|
|
1053
|
+
}
|
|
774
1054
|
/**
|
|
775
1055
|
* Update the status of an AWS CUR config (active/archived).
|
|
776
1056
|
* @param param The request object
|
|
@@ -799,6 +1079,20 @@ class CloudCostManagementApi {
|
|
|
799
1079
|
});
|
|
800
1080
|
});
|
|
801
1081
|
}
|
|
1082
|
+
/**
|
|
1083
|
+
* Upload a Custom Costs file.
|
|
1084
|
+
* @param param The request object
|
|
1085
|
+
*/
|
|
1086
|
+
uploadCustomCostsFile(param, options) {
|
|
1087
|
+
const requestContextPromise = this.requestFactory.uploadCustomCostsFile(param.body, options);
|
|
1088
|
+
return requestContextPromise.then((requestContext) => {
|
|
1089
|
+
return this.configuration.httpApi
|
|
1090
|
+
.send(requestContext)
|
|
1091
|
+
.then((responseContext) => {
|
|
1092
|
+
return this.responseProcessor.uploadCustomCostsFile(responseContext);
|
|
1093
|
+
});
|
|
1094
|
+
});
|
|
1095
|
+
}
|
|
802
1096
|
}
|
|
803
1097
|
exports.CloudCostManagementApi = CloudCostManagementApi;
|
|
804
1098
|
//# sourceMappingURL=CloudCostManagementApi.js.map
|