File tree Expand file tree Collapse file tree 29 files changed +29
-29
lines changed
Expand file tree Collapse file tree 29 files changed +29
-29
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import { v2 } from "@datadog/datadog-api-client-agentless-scanning";
2626const configuration = createConfiguration ();
2727const apiInstance = new AgentlessScanningApiV2 (configuration );
2828
29- apiInstance .listAwsScanOptions (params ).then ((data : v2 .AwsScanOptionsListResponse ) => {
29+ apiInstance .listAwsScanOptions ().then ((data : v2 .AwsScanOptionsListResponse ) => {
3030 console .log (" API called successfully. Returned data: " + JSON .stringify (data ));
3131}).catch ((error ) => {
3232 console .error (" Error calling API: " + error );
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import { v2 } from "@datadog/datadog-api-client-apm-retention-filters";
2222const configuration = createConfiguration ();
2323const apiInstance = new APMRetentionFiltersApiV2 (configuration );
2424
25- apiInstance .listApmRetentionFilters (params ).then ((data : v2 .RetentionFiltersResponse ) => {
25+ apiInstance .listApmRetentionFilters ().then ((data : v2 .RetentionFiltersResponse ) => {
2626 console .log (" API called successfully. Returned data: " + JSON .stringify (data ));
2727}).catch ((error ) => {
2828 console .error (" Error calling API: " + error );
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import { v2 } from "@datadog/datadog-api-client-application-security";
2727const configuration = createConfiguration ();
2828const apiInstance = new ApplicationSecurityApiV2 (configuration );
2929
30- apiInstance .listApplicationSecurityWAFCustomRules (params ).then ((data : v2 .ApplicationSecurityWafCustomRuleListResponse ) => {
30+ apiInstance .listApplicationSecurityWAFCustomRules ().then ((data : v2 .ApplicationSecurityWafCustomRuleListResponse ) => {
3131 console .log (" API called successfully. Returned data: " + JSON .stringify (data ));
3232}).catch ((error ) => {
3333 console .error (" Error calling API: " + error );
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import { v1 } from "@datadog/datadog-api-client-authentication";
3030const configuration = createConfiguration ();
3131const apiInstance = new AuthenticationApiV1 (configuration );
3232
33- apiInstance .validate (params ).then ((data : v1 .AuthenticationValidationResponse ) => {
33+ apiInstance .validate ().then ((data : v1 .AuthenticationValidationResponse ) => {
3434 console .log (" API called successfully. Returned data: " + JSON .stringify (data ));
3535}).catch ((error ) => {
3636 console .error (" Error calling API: " + error );
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ const configuration = createConfiguration();
2525configuration .unstableOperations [" v2.listAWSLogsServices" ] = true ;
2626const apiInstance = new AWSLogsIntegrationApiV2 (configuration );
2727
28- apiInstance .listAWSLogsServices (params ).then ((data : v2 .AWSLogsServicesResponse ) => {
28+ apiInstance .listAWSLogsServices ().then ((data : v2 .AWSLogsServicesResponse ) => {
2929 console .log (" API called successfully. Returned data: " + JSON .stringify (data ));
3030}).catch ((error ) => {
3131 console .error (" Error calling API: " + error );
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import { v1 } from "@datadog/datadog-api-client-azure-integration";
2323const configuration = createConfiguration ();
2424const apiInstance = new AzureIntegrationApiV1 (configuration );
2525
26- apiInstance .listAzureIntegration (params ).then ((data : v1 .Array <AzureAccount >) => {
26+ apiInstance .listAzureIntegration ().then ((data : v1 .Array <AzureAccount >) => {
2727 console .log (" API called successfully. Returned data: " + JSON .stringify (data ));
2828}).catch ((error ) => {
2929 console .error (" Error calling API: " + error );
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import { v2 } from "@datadog/datadog-api-client-cloud-cost-management";
2222const configuration = createConfiguration ();
2323const apiInstance = new CloudCostManagementApiV2 (configuration );
2424
25- apiInstance .listCostAWSCURConfigs (params ).then ((data : v2 .AwsCURConfigsResponse ) => {
25+ apiInstance .listCostAWSCURConfigs ().then ((data : v2 .AwsCURConfigsResponse ) => {
2626 console .log (" API called successfully. Returned data: " + JSON .stringify (data ));
2727}).catch ((error ) => {
2828 console .error (" Error calling API: " + error );
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import { v2 } from "@datadog/datadog-api-client-cloudflare-integration";
2222const configuration = createConfiguration ();
2323const apiInstance = new CloudflareIntegrationApiV2 (configuration );
2424
25- apiInstance .listCloudflareAccounts (params ).then ((data : v2 .CloudflareAccountsResponse ) => {
25+ apiInstance .listCloudflareAccounts ().then ((data : v2 .CloudflareAccountsResponse ) => {
2626 console .log (" API called successfully. Returned data: " + JSON .stringify (data ));
2727}).catch ((error ) => {
2828 console .error (" Error calling API: " + error );
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import { v2 } from "@datadog/datadog-api-client-confluent-cloud";
2222const configuration = createConfiguration ();
2323const apiInstance = new ConfluentCloudApiV2 (configuration );
2424
25- apiInstance .listConfluentAccount (params ).then ((data : v2 .ConfluentAccountsResponse ) => {
25+ apiInstance .listConfluentAccount ().then ((data : v2 .ConfluentAccountsResponse ) => {
2626 console .log (" API called successfully. Returned data: " + JSON .stringify (data ));
2727}).catch ((error ) => {
2828 console .error (" Error calling API: " + error );
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import { v2 } from "@datadog/datadog-api-client-csm-coverage-analysis";
2525const configuration = createConfiguration ();
2626const apiInstance = new CSMCoverageAnalysisApiV2 (configuration );
2727
28- apiInstance .getCSMCloudAccountsCoverageAnalysis (params ).then ((data : v2 .CsmCloudAccountsCoverageAnalysisResponse ) => {
28+ apiInstance .getCSMCloudAccountsCoverageAnalysis ().then ((data : v2 .CsmCloudAccountsCoverageAnalysisResponse ) => {
2929 console .log (" API called successfully. Returned data: " + JSON .stringify (data ));
3030}).catch ((error ) => {
3131 console .error (" Error calling API: " + error );
You can’t perform that action at this time.
0 commit comments