Cloud Connect AWS
The Cloud Connect AWS service collection has been superseded by the CSPM Registration service collection and is now deprecated. Developers should move code over to use the new operations available within the updated collection.
This service collection is deprecated.
| Language | Last Update |
|---|---|
| Python | v1.3.2 |
| PowerShell | v2.2.9 |
| Go | v0.20.0 |
| TypeScript | v0.6.0 |
| Rust | v0.7.0 |
| Ruby | v1.2.0 |
Table of Contents
Section titled “Table of Contents”| Operation | Description |
|---|---|
QueryAWSAccountsquery_aws_accounts | Search for provisioned AWS Accounts by providing a FQL filter and paging details. Returns a set of AWS accounts which match the filter criteria deprecated |
GetAWSSettingsget_aws_settings | Retrieve a set of Global Settings which are applicable to all provisioned AWS accounts deprecated |
GetAWSAccountsget_aws_accounts | Retrieve a set of AWS Accounts by specifying their IDs deprecated |
ProvisionAWSAccountsprovision_aws_accounts | Provision AWS Accounts by specifying details about the accounts to provision deprecated |
DeleteAWSAccountsdelete_aws_accounts | Delete a set of AWS Accounts by specifying their IDs deprecated |
UpdateAWSAccountsupdate_aws_accounts | Update AWS Accounts by specifying the ID of the account and details to update deprecated |
CreateOrUpdateAWSSettingscreate_or_update_aws_settings | Create or update Global Settings which are applicable to all provisioned AWS accounts deprecated |
VerifyAWSAccountAccessverify_aws_account_access | Performs an Access Verification check on the specified AWS Account IDs deprecated |
QueryAWSAccountsForIDsquery_aws_accounts_for_ids | Search for provisioned AWS Accounts by providing a FQL filter and paging details. Returns a set of AWS account IDs which match the filter criteria |
QueryAWSAccounts
Section titled “QueryAWSAccounts”Search for provisioned AWS Accounts by providing a FQL filter and paging details. Returns a set of AWS accounts which match the filter criteria
Deprecated operation
Section titled “Deprecated operation”This operation has been superseded by the GetCSPMAwsAccount operation and is now deprecated. Developers should move code over to this new operation as soon as time permits.
query_aws_accountsParameters
Section titled “Parameters”| Name | Type | Data type | Description |
|---|---|---|---|
| limit | query | integer | The maximum records to return. [1-5000]. Defaults to 100. |
| offset | query | integer | The offset to start retrieving records from. |
| sort | query | string | The property to sort by (e.g. alias.desc or state.asc). |
| filter | query | string | The filter expression that should be used to limit the results. |
| parameters | query | dictionary | Full query string parameters payload in JSON format. |
Code Examples
Section titled “Code Examples”from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_aws_accounts(filter="string", limit="string", offset=integer, sort="string")print(response)from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueryAWSAccounts(filter="string", limit="string", offset=integer, sort="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueryAWSAccounts", limit=integer, offset=integer, sort="string", filter="string")print(response)Examples coming soon.
Examples coming soon.
import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cloudConnectAws.queryAWSAccounts( integer, // limit integer, // offset "string", // sort "string" // filter);
console.log(response);use rusty_falcon::apis::cloud_connect_aws_api::query_aws_accounts;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = query_aws_accounts( &falcon.cfg, // configuration Some(integer), // limit Some(integer), // offset Some("string"), // sort Some("string"), // filter ).await.expect("API call failed");
println!("{:?}", response);}Examples coming soon.
GetAWSSettings
Section titled “GetAWSSettings”Retrieve a set of Global Settings which are applicable to all provisioned AWS accounts
Deprecated operation
Section titled “Deprecated operation”This operation has been deprecated and will be removed from the SDK when this endpoint is decommissioned.
get_aws_settingsParameters
Section titled “Parameters”No keywords or arguments accepted.
Code Examples
Section titled “Code Examples”from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.get_aws_settings()print(response)from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.GetAWSSettings()print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("GetAWSSettings")print(response)Examples coming soon.
Examples coming soon.
import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cloudConnectAws.getAWSSettings();
console.log(response);use rusty_falcon::apis::cloud_connect_aws_api::get_aws_settings;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = get_aws_settings(&falcon.cfg).await.expect("API call failed"); // configuration
println!("{:?}", response);}Examples coming soon.
GetAWSAccounts
Section titled “GetAWSAccounts”Retrieve a set of AWS Accounts by specifying their IDs
Deprecated operation
Section titled “Deprecated operation”This operation has been superseded by the GetCSPMAwsAccount operation and is now deprecated. Developers should move code over to this new operation as soon as time permits.
get_aws_accountsParameters
Section titled “Parameters”| Name | Type | Data type | Description |
|---|---|---|---|
| ids | query | string or list of strings | IDs of accounts to retrieve details. |
| parameters | query | dictionary | Full query string parameters payload in JSON format. |
Code Examples
Section titled “Code Examples”from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.get_aws_accounts(ids=id_list)print(response)from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.GetAWSAccounts(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("GetAWSAccounts", ids=id_list)print(response)Examples coming soon.
Examples coming soon.
import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cloudConnectAws.getAWSAccounts(["ID1", "ID2", "ID3"]); // ids
console.log(response);use rusty_falcon::apis::cloud_connect_aws_api::get_aws_accounts;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = get_aws_accounts( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}Examples coming soon.
ProvisionAWSAccounts
Section titled “ProvisionAWSAccounts”Provision AWS Accounts by specifying details about the accounts to provision
Deprecated operation
Section titled “Deprecated operation”This operation has been superseded by the CreateCSPMAwsAccount operation and is now deprecated. Developers should move code over to this new operation as soon as time permits.
provision_aws_accountsParameters
Section titled “Parameters”| Name | Type | Data type | Description |
|---|---|---|---|
| body | body | dictionary | Full BODY payload in JSON format. |
| cloudtrail_bucket_owner_id | body | string | AWS IAM IAD for Cloudtrail bucket owner. (ARN format) |
| cloudtrail_bucket_region | body | string | AWS region for Cloudtrail bucket. |
| external_id | body | string | Shared external ID to use for AWS cross-account role. |
| iam_role_arn | body | string | ARN for the IAM role to use as the cross-account role. |
| id | body | string | AWS account ID to provision. |
| mode | query | string | Mode for provisioning. Allowed values are manual or cloudformation. Defaults to manual if not defined. |
| parameters | query | dictionary | Full query string parameters payload in JSON format. |
| rate_limit_req | body | integer | Rate limit count. |
| rate_limit_time | body | integer | Rate limit timestamp. |
Code Examples
Section titled “Code Examples”from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.provision_aws_accounts(cloudtrail_bucket_owner_id="string", cloudtrail_bucket_region="string", external_id="string", iam_role_arn="string", id="string", mode="string", rate_limit_reqs=integer, rate_limit_time=integer)print(response)from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.ProvisionAWSAccounts(cloudtrail_bucket_owner_id="string", cloudtrail_bucket_region="string", external_id="string", iam_role_arn="string", id="string", mode="string", rate_limit_reqs=integer, rate_limit_time=integer)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "resources": [ { "cloudtrail_bucket_owner_id": "string", "cloudtrail_bucket_region": "string", "external_id": "string", "iam_role_arn": "string", "id": "string", "rate_limit_reqs": integer, "rate_limit_time": integer } ]}
response = falcon.command("ProvisionAWSAccounts", mode="string", body=body_payload)print(response)Examples coming soon.
Examples coming soon.
import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cloudConnectAws.provisionAWSAccounts( { // body resources: [{ cloudtrailBucketOwnerId: "string", cloudtrailBucketRegion: "string", externalId: "string", iamRoleArn: "string", id: "string", rateLimitReqs: integer, rateLimitTime: integer }] }, "string" // mode);
console.log(response);use rusty_falcon::apis::cloud_connect_aws_api::provision_aws_accounts;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ModelsCreateAwsAccountsV1;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ModelsCreateAwsAccountsV1 { resources: vec![], ..Default::default() };
let response = provision_aws_accounts( &falcon.cfg, // configuration body, // body Some("string"), // mode ).await.expect("API call failed");
println!("{:?}", response);}Examples coming soon.
DeleteAWSAccounts
Section titled “DeleteAWSAccounts”Delete a set of AWS Accounts by specifying their IDs
Deprecated operation
Section titled “Deprecated operation”This operation has been superseded by the DeleteCSPMAwsAccount operation and is now deprecated. Developers should move code over to this new operation as soon as time permits.
delete_aws_accountsParameters
Section titled “Parameters”| Name | Type | Data type | Description |
|---|---|---|---|
| ids | query | string or list of strings | IDs of accounts to remove |
| parameters | query | dictionary | Full query string parameters payload in JSON format. |
Code Examples
Section titled “Code Examples”from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.delete_aws_accounts(ids=id_list)print(response)from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.DeleteAWSAccounts(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("DeleteAWSAccounts", ids=id_list)print(response)Examples coming soon.
Examples coming soon.
import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cloudConnectAws.deleteAWSAccounts(["ID1", "ID2", "ID3"]); // ids
console.log(response);use rusty_falcon::apis::cloud_connect_aws_api::delete_aws_accounts;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = delete_aws_accounts( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}Examples coming soon.
UpdateAWSAccounts
Section titled “UpdateAWSAccounts”Update AWS Accounts by specifying the ID of the account and details to update
Deprecated operation
Section titled “Deprecated operation”This operation has been superseded by the PatchCSPMAwsAccount operation and is now deprecated. Developers should move code over to this new operation as soon as time permits.
update_aws_accountsParameters
Section titled “Parameters”| Name | Type | Data type | Description |
|---|---|---|---|
| body | body | dictionary | Full BODY payload in JSON format. |
| cloudtrail_bucket_owner_id | body | string | AWS IAM IAD for Cloudtrail bucket owner. (ARN format) |
| cloudtrail_bucket_region | body | string | AWS region for Cloudtrail bucket. |
| external_id | body | string | Shared external ID to use for AWS cross-account role. |
| iam_role_arn | body | string | ARN for the IAM role to use as the cross-account role. |
| id | body | string | AWS account ID to provision. |
| rate_limit_req | body | integer | Rate limit count. |
| rate_limit_time | body | integer | Rate limit timestamp. |
Code Examples
Section titled “Code Examples”from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.update_aws_accounts(cloudtrail_bucket_owner_id="string", cloudtrail_bucket_region="string", external_id="string", iam_role_arn="string", id="string", rate_limit_reqs=integer, rate_limit_time=integer)print(response)from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.UpdateAWSAccounts(cloudtrail_bucket_owner_id="string", cloudtrail_bucket_region="string", external_id="string", iam_role_arn="string", id="string", rate_limit_reqs=integer, rate_limit_time=integer)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "resources": [ { "cloudtrail_bucket_owner_id": "string", "cloudtrail_bucket_region": "string", "external_id": "string", "iam_role_arn": "string", "id": "string", "rate_limit_reqs": integer, "rate_limit_time": integer } ]}
response = falcon.command("UpdateAWSAccounts", body=body_payload)print(response)Examples coming soon.
Examples coming soon.
import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cloudConnectAws.updateAWSAccounts( { resources: [{ cloudtrailBucketOwnerId: "string", cloudtrailBucketRegion: "string", externalId: "string", iamRoleArn: "string", id: "string", rateLimitReqs: integer, rateLimitTime: integer }]} // body);
console.log(response);use rusty_falcon::apis::cloud_connect_aws_api::update_aws_accounts;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ModelsUpdateAwsAccountsV1;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ModelsUpdateAwsAccountsV1 { resources: vec![], ..Default::default() };
let response = update_aws_accounts( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}Examples coming soon.
CreateOrUpdateAWSSettings
Section titled “CreateOrUpdateAWSSettings”Create or update Global Settings which are applicable to all provisioned AWS accounts
Deprecated operation
Section titled “Deprecated operation”This operation has been deprecated and will be removed from the SDK when this endpoint is decommissioned.
create_or_update_aws_settingsParameters
Section titled “Parameters”| Name | Type | Data type | Description |
|---|---|---|---|
| body | body | dictionary | Full BODY payload in JSON format. |
| cloudtrail_bucket_owner_id | body | string | AWS IAM IAD for Cloudtrail bucket owner. (ARN format) |
| static_external_id | body | string | New external ID to use for the AWS cross-account role. |
Code Examples
Section titled “Code Examples”from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.create_or_update_aws_settings(cloudtrail_bucket_owner_id="string", static_external_id="string")print(response)from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.CreateOrUpdateAWSSettings(cloudtrail_bucket_owner_id="string", static_external_id="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
body_payload = { "resources": [ { "cloudtrail_bucket_owner_id": "string", "static_external_id": "string" } ]}
response = falcon.command("CreateOrUpdateAWSSettings", body=body_payload)print(response)Examples coming soon.
Examples coming soon.
import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cloudConnectAws.createOrUpdateAWSSettings( { resources: [{ cloudtrailBucketOwnerId: "string", staticExternalId: "string" }]} // body);
console.log(response);use rusty_falcon::apis::cloud_connect_aws_api::create_or_update_aws_settings;use rusty_falcon::easy::client::FalconHandle;use rusty_falcon::models::ModelsModifyAwsCustomerSettingsV1;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let body = ModelsModifyAwsCustomerSettingsV1 { resources: vec![], ..Default::default() };
let response = create_or_update_aws_settings( &falcon.cfg, // configuration body, // body ).await.expect("API call failed");
println!("{:?}", response);}Examples coming soon.
VerifyAWSAccountAccess
Section titled “VerifyAWSAccountAccess”Performs an Access Verification check on the specified AWS Account IDs
Deprecated operation
Section titled “Deprecated operation”This operation has been deprecated and will be removed from the SDK when this endpoint is decommissioned.
verify_aws_account_accessParameters
Section titled “Parameters”| Name | Type | Data type | Description |
|---|---|---|---|
| ids | query | string or list of strings | IDs of accounts to verify access on. |
| parameters | query | dictionary | Full query string parameters payload in JSON format. |
Code Examples
Section titled “Code Examples”from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.verify_aws_account_access(ids=id_list)print(response)from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.VerifyAWSAccountAccess(ids=id_list)print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
id_list = 'ID1,ID2,ID3' # Can also pass a list here: ['ID1', 'ID2', 'ID3']
response = falcon.command("VerifyAWSAccountAccess", ids=id_list)print(response)Examples coming soon.
Examples coming soon.
import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cloudConnectAws.verifyAWSAccountAccess(["ID1", "ID2", "ID3"]); // ids
console.log(response);use rusty_falcon::apis::cloud_connect_aws_api::verify_aws_account_access;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = verify_aws_account_access( &falcon.cfg, // configuration vec!["string".to_string()], // ids ).await.expect("API call failed");
println!("{:?}", response);}Examples coming soon.
QueryAWSAccountsForIDs
Section titled “QueryAWSAccountsForIDs”Search for provisioned AWS Accounts by providing a FQL filter and paging details. Returns a set of AWS account IDs which match the filter criteria
query_aws_accounts_for_idsParameters
Section titled “Parameters”| Name | Type | Data type | Description |
|---|---|---|---|
| limit | query | integer | The maximum records to return. [1-5000]. Defaults to 100. |
| offset | query | integer | The offset to start retrieving records from. |
| sort | query | string | The property to sort by (e.g. alias.desc or state.asc). |
| filter | query | string | The filter expression that should be used to limit the results. |
| parameters | query | dictionary | Full query string parameters payload in JSON format. |
Code Examples
Section titled “Code Examples”from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.query_aws_accounts_for_ids(filter="string", limit="string", offset=integer, sort="string")print(response)from falconpy import CloudConnectAWS
falcon = CloudConnectAWS(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.QueryAWSAccountsForIDs(filter="string", limit="string", offset=integer, sort="string")print(response)from falconpy import APIHarnessV2
falcon = APIHarnessV2(client_id=CLIENT_ID, client_secret=CLIENT_SECRET )
response = falcon.command("QueryAWSAccountsForIDs", limit=integer, offset=integer, sort="string", filter="string")print(response)Examples coming soon.
Examples coming soon.
import { FalconClient } from "crowdstrike-falcon";
const client = new FalconClient({ cloud: process.env.FALCON_CLOUD!, clientId: process.env.FALCON_CLIENT_ID!, clientSecret: process.env.FALCON_CLIENT_SECRET!,});
const response = await client.cloudConnectAws.queryAWSAccountsForIDs( integer, // limit integer, // offset "string", // sort "string" // filter);
console.log(response);use rusty_falcon::apis::cloud_connect_aws_api::query_aws_accounts_for_ids;use rusty_falcon::easy::client::FalconHandle;
#[tokio::main]async fn main() { let falcon = FalconHandle::from_env().await.expect("Could not authenticate");
let response = query_aws_accounts_for_ids( &falcon.cfg, // configuration Some(integer), // limit Some(integer), // offset Some("string"), // sort Some("string"), // filter ).await.expect("API call failed");
println!("{:?}", response);}Examples coming soon.