@@ -30,7 +30,7 @@ import * as fs from 'fs';
3030const configuration = v1 .createConfiguration ();
3131const apiInstance = new v1 .AWSIntegrationApi (configuration );
3232
33- let body : v1 .AWSIntegrationApiCreateAWSAccountRequest = {
33+ let params : v1 .AWSIntegrationApiCreateAWSAccountRequest = {
3434 // AWSAccount | AWS Request Object
3535 body: {
3636 accessKeyId: " accessKeyId_example" ,
@@ -46,7 +46,7 @@ let body:v1.AWSIntegrationApiCreateAWSAccountRequest = {
4646 },
4747};
4848
49- apiInstance .createAWSAccount (body ).then ((data : any ) => {
49+ apiInstance .createAWSAccount (params ).then ((data : any ) => {
5050 console .log (' API called successfully. Returned data: ' + data );
5151}).catch ((error : any ) => console .error (error ));
5252```
@@ -98,7 +98,7 @@ import * as fs from 'fs';
9898const configuration = v1 .createConfiguration ();
9999const apiInstance = new v1 .AWSIntegrationApi (configuration );
100100
101- let body : v1 .AWSIntegrationApiCreateAWSTagFilterRequest = {
101+ let params : v1 .AWSIntegrationApiCreateAWSTagFilterRequest = {
102102 // AWSTagFilterCreateRequest | Set an AWS tag filter using an `aws_account_identifier`, `namespace`, and filtering string. Namespace options are `application_elb`, `elb`, `lambda`, `network_elb`, `rds`, `sqs`, and `custom`.
103103 body: {
104104 accountId: " 1234567" ,
@@ -107,7 +107,7 @@ let body:v1.AWSIntegrationApiCreateAWSTagFilterRequest = {
107107 },
108108};
109109
110- apiInstance .createAWSTagFilter (body ).then ((data : any ) => {
110+ apiInstance .createAWSTagFilter (params ).then ((data : any ) => {
111111 console .log (' API called successfully. Returned data: ' + data );
112112}).catch ((error : any ) => console .error (error ));
113113```
@@ -158,7 +158,7 @@ import * as fs from 'fs';
158158const configuration = v1 .createConfiguration ();
159159const apiInstance = new v1 .AWSIntegrationApi (configuration );
160160
161- let body : v1 .AWSIntegrationApiCreateNewAWSExternalIDRequest = {
161+ let params : v1 .AWSIntegrationApiCreateNewAWSExternalIDRequest = {
162162 // AWSAccount | Your Datadog role delegation name. For more information about your AWS account Role name, see the [Datadog AWS integration configuration info](https://github.com/DataDog/documentation/blob/master/integrations/amazon_web_services/#installation).
163163 body: {
164164 accessKeyId: " accessKeyId_example" ,
@@ -174,7 +174,7 @@ let body:v1.AWSIntegrationApiCreateNewAWSExternalIDRequest = {
174174 },
175175};
176176
177- apiInstance .createNewAWSExternalID (body ).then ((data : any ) => {
177+ apiInstance .createNewAWSExternalID (params ).then ((data : any ) => {
178178 console .log (' API called successfully. Returned data: ' + data );
179179}).catch ((error : any ) => console .error (error ));
180180```
@@ -225,7 +225,7 @@ import * as fs from 'fs';
225225const configuration = v1 .createConfiguration ();
226226const apiInstance = new v1 .AWSIntegrationApi (configuration );
227227
228- let body : v1 .AWSIntegrationApiDeleteAWSAccountRequest = {
228+ let params : v1 .AWSIntegrationApiDeleteAWSAccountRequest = {
229229 // AWSAccount | AWS request object
230230 body: {
231231 accessKeyId: " accessKeyId_example" ,
@@ -241,7 +241,7 @@ let body:v1.AWSIntegrationApiDeleteAWSAccountRequest = {
241241 },
242242};
243243
244- apiInstance .deleteAWSAccount (body ).then ((data : any ) => {
244+ apiInstance .deleteAWSAccount (params ).then ((data : any ) => {
245245 console .log (' API called successfully. Returned data: ' + data );
246246}).catch ((error : any ) => console .error (error ));
247247```
@@ -293,15 +293,15 @@ import * as fs from 'fs';
293293const configuration = v1 .createConfiguration ();
294294const apiInstance = new v1 .AWSIntegrationApi (configuration );
295295
296- let body : v1 .AWSIntegrationApiDeleteAWSTagFilterRequest = {
296+ let params : v1 .AWSIntegrationApiDeleteAWSTagFilterRequest = {
297297 // AWSTagFilterDeleteRequest | Delete a tag filtering entry for a given AWS account and `dd-aws` namespace.
298298 body: {
299299 accountId: " FAKEAC0FAKEAC2FAKEAC" ,
300300 namespace: " elb" ,
301301 },
302302};
303303
304- apiInstance .deleteAWSTagFilter (body ).then ((data : any ) => {
304+ apiInstance .deleteAWSTagFilter (params ).then ((data : any ) => {
305305 console .log (' API called successfully. Returned data: ' + data );
306306}).catch ((error : any ) => console .error (error ));
307307```
@@ -352,7 +352,7 @@ import * as fs from 'fs';
352352const configuration = v1 .createConfiguration ();
353353const apiInstance = new v1 .AWSIntegrationApi (configuration );
354354
355- let body : v1 .AWSIntegrationApiListAWSAccountsRequest = {
355+ let params : v1 .AWSIntegrationApiListAWSAccountsRequest = {
356356 // string | Only return AWS accounts that matches this `account_id`. (optional)
357357 accountId: " account_id_example" ,
358358 // string | Only return AWS accounts that matches this role_name. (optional)
@@ -361,7 +361,7 @@ let body:v1.AWSIntegrationApiListAWSAccountsRequest = {
361361 accessKeyId: " access_key_id_example" ,
362362};
363363
364- apiInstance .listAWSAccounts (body ).then ((data : any ) => {
364+ apiInstance .listAWSAccounts (params ).then ((data : any ) => {
365365 console .log (' API called successfully. Returned data: ' + data );
366366}).catch ((error : any ) => console .error (error ));
367367```
@@ -414,12 +414,12 @@ import * as fs from 'fs';
414414const configuration = v1 .createConfiguration ();
415415const apiInstance = new v1 .AWSIntegrationApi (configuration );
416416
417- let body : v1 .AWSIntegrationApiListAWSTagFiltersRequest = {
417+ let params : v1 .AWSIntegrationApiListAWSTagFiltersRequest = {
418418 // string | Only return AWS filters that matches this `account_id`.
419419 accountId: " account_id_example" ,
420420};
421421
422- apiInstance .listAWSTagFilters (body ).then ((data : any ) => {
422+ apiInstance .listAWSTagFilters (params ).then ((data : any ) => {
423423 console .log (' API called successfully. Returned data: ' + data );
424424}).catch ((error : any ) => console .error (error ));
425425```
@@ -470,9 +470,8 @@ import * as fs from 'fs';
470470const configuration = v1 .createConfiguration ();
471471const apiInstance = new v1 .AWSIntegrationApi (configuration );
472472
473- let body: any = {};
474473
475- apiInstance .listAvailableAWSNamespaces (body ).then ((data : any ) => {
474+ apiInstance .listAvailableAWSNamespaces ().then ((data : any ) => {
476475 console .log (' API called successfully. Returned data: ' + data );
477476}).catch ((error : any ) => console .error (error ));
478477```
@@ -519,7 +518,7 @@ import * as fs from 'fs';
519518const configuration = v1 .createConfiguration ();
520519const apiInstance = new v1 .AWSIntegrationApi (configuration );
521520
522- let body : v1 .AWSIntegrationApiUpdateAWSAccountRequest = {
521+ let params : v1 .AWSIntegrationApiUpdateAWSAccountRequest = {
523522 // AWSAccount | AWS request object
524523 body: {
525524 accessKeyId: " accessKeyId_example" ,
@@ -541,7 +540,7 @@ let body:v1.AWSIntegrationApiUpdateAWSAccountRequest = {
541540 accessKeyId: " access_key_id_example" ,
542541};
543542
544- apiInstance .updateAWSAccount (body ).then ((data : any ) => {
543+ apiInstance .updateAWSAccount (params ).then ((data : any ) => {
545544 console .log (' API called successfully. Returned data: ' + data );
546545}).catch ((error : any ) => console .error (error ));
547546```
0 commit comments