Describe an AWS Connector by ID.
AwsConnectorsApi.describeAWSConnector([param1, param2, ...])
AWSConnectorsApi.describe_aws_connector([param1, param2, ...])
AWSConnectorsApi.describeAWSConnector([param1, param2, ...])
successful operation
Not authorized to view AWS Connectors.
The AWS Connector does not exist.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.AwsConnectorsApi; import com.trendmicro.deepsecurity.model.AWSConnector; public class DescribeAWSConnectorExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values AwsConnectorsApi instance = new AwsConnectorsApi(); Integer awsConnectorID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours AWSConnector result = instance.describeAWSConnector(awsConnectorID, apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling AwsConnectorsApi.describeAWSConnector"); e.printStackTrace(); } } }
{- "displayName": "string",
- "accountId": "string",
- "accountAlias": "string",
- "accessKey": "string",
- "secretKey": "string",
- "seedRegion": "string",
- "useInstanceRole": true,
- "crossAccountRoleArn": "string",
- "lastSyncTime": 0,
- "syncedRegions": [
- {
- "region": "string",
- "computersSynced": 0,
- "workspacesSynced": 0
}
], - "workspacesEnabled": true,
- "stsRegionalClientEnabled": true,
- "ID": 0
}
Modify the specified AWS Connector by ID. Any unset elements will be left unchanged.
AwsConnectorsApi.modifyAWSConnector([param1, param2, ...])
AWSConnectorsApi.modify_aws_connector([param1, param2, ...])
AWSConnectorsApi.modifyAWSConnector([param1, param2, ...])
The settings of the AWS Connector to modify.
successful operation
Not authorized to modify AWS Connectors or the requested modification is not permitted.
The AWS account does not exist.
{- "displayName": "string",
- "accountId": "string",
- "accountAlias": "string",
- "accessKey": "string",
- "secretKey": "string",
- "seedRegion": "string",
- "useInstanceRole": true,
- "crossAccountRoleArn": "string",
- "lastSyncTime": 0,
- "syncedRegions": [
- {
- "region": "string",
- "computersSynced": 0,
- "workspacesSynced": 0
}
], - "workspacesEnabled": true,
- "stsRegionalClientEnabled": true
}
{- "displayName": "string",
- "accountId": "string",
- "accountAlias": "string",
- "accessKey": "string",
- "secretKey": "string",
- "seedRegion": "string",
- "useInstanceRole": true,
- "crossAccountRoleArn": "string",
- "lastSyncTime": 0,
- "syncedRegions": [
- {
- "region": "string",
- "computersSynced": 0,
- "workspacesSynced": 0
}
], - "workspacesEnabled": true,
- "stsRegionalClientEnabled": true,
- "ID": 0
}
Delete an existing AWS Connector by ID.
AwsConnectorsApi.deleteAWSConnector([param1, param2, ...])
AWSConnectorsApi.delete_aws_connector([param1, param2, ...])
AWSConnectorsApi.deleteAWSConnector([param1, param2, ...])
Request is successful.
Not authorized to delete AWS Connectors.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.AwsConnectorsApi; public class DeleteAWSConnectorExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values AwsConnectorsApi instance = new AwsConnectorsApi(); Integer awsConnectorID = 1; String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours instance.deleteAWSConnector(awsConnectorID, apiVersion); } catch (ApiException e) { System.err.println("An exception occurred when calling AwsConnectorsApi.deleteAWSConnector"); e.printStackTrace(); } } }
Lists all AWS Connectors.
AwsConnectorsApi.listAWSConnectors([param1, param2, ...])
AWSConnectorsApi.list_aws_connectors([param1, param2, ...])
AWSConnectorsApi.listAWSConnectors([param1, param2, ...])
successful operation
Not authorized to view AWS Connectors.
import com.trendmicro.deepsecurity.ApiClient; import com.trendmicro.deepsecurity.Configuration; import com.trendmicro.deepsecurity.auth.ApiKeyAuth; import com.trendmicro.deepsecurity.ApiException; import com.trendmicro.deepsecurity.api.AwsConnectorsApi; import com.trendmicro.deepsecurity.model.AWSConnectors; public class ListAWSConnectorsExample { public static void main(String[] args) { // Setup ApiClient defaultClient = Configuration.getDefaultApiClient(); defaultClient.setBasePath("YOUR HOST"); // Authentication ApiKeyAuth DefaultAuthentication = (ApiKeyAuth) defaultClient.getAuthentication("DefaultAuthentication"); DefaultAuthentication.setApiKey("YOUR API KEY"); try { defaultClient.trustAllCertificates(false); } catch (Exception e) { System.err.println("An exception occurred when calling ApiClient.trustAllCertificates"); e.printStackTrace(); } // Initialization // Set Any Required Values AwsConnectorsApi instance = new AwsConnectorsApi(); String apiVersion = "YOUR VERSION"; try { // Please replace the parameter values with yours AWSConnectors result = instance.listAWSConnectors(apiVersion); System.out.println(result); } catch (ApiException e) { System.err.println("An exception occurred when calling AwsConnectorsApi.listAWSConnectors"); e.printStackTrace(); } } }
{- "awsConnectors": [
- {
- "displayName": "string",
- "accountId": "string",
- "accountAlias": "string",
- "accessKey": "string",
- "secretKey": "string",
- "seedRegion": "string",
- "useInstanceRole": true,
- "crossAccountRoleArn": "string",
- "lastSyncTime": 0,
- "syncedRegions": [
- {
- "region": "string",
- "computersSynced": 0,
- "workspacesSynced": 0
}
], - "workspacesEnabled": true,
- "stsRegionalClientEnabled": true,
- "ID": 0
}
]
}
Create a new AWS Connector.
AwsConnectorsApi.createAWSConnector([param1, param2, ...])
AWSConnectorsApi.create_aws_connector([param1, param2, ...])
AWSConnectorsApi.createAWSConnector([param1, param2, ...])
The settings of the new AWS Connector.
successful operation
Not authorized to create AWS Connectors.
{- "displayName": "string",
- "accountId": "string",
- "accountAlias": "string",
- "accessKey": "string",
- "secretKey": "string",
- "seedRegion": "string",
- "useInstanceRole": true,
- "crossAccountRoleArn": "string",
- "lastSyncTime": 0,
- "syncedRegions": [
- {
- "region": "string",
- "computersSynced": 0,
- "workspacesSynced": 0
}
], - "workspacesEnabled": true,
- "stsRegionalClientEnabled": true
}
{- "displayName": "string",
- "accountId": "string",
- "accountAlias": "string",
- "accessKey": "string",
- "secretKey": "string",
- "seedRegion": "string",
- "useInstanceRole": true,
- "crossAccountRoleArn": "string",
- "lastSyncTime": 0,
- "syncedRegions": [
- {
- "region": "string",
- "computersSynced": 0,
- "workspacesSynced": 0
}
], - "workspacesEnabled": true,
- "stsRegionalClientEnabled": true,
- "ID": 0
}
Search for AWS Connectors using optional filters.
AwsConnectorsApi.searchAWSConnectors([param1, param2, ...])
AWSConnectorsApi.search_aws_connectors([param1, param2, ...])
AWSConnectorsApi.searchAWSConnectors([param1, param2, ...])
A collection of options used to filter the search results.
successful operation
Not authorized to view AWS Connectors.
{- "maxItems": 0,
- "searchCriteria": [
- {
- "fieldName": "string",
- "booleanTest": true,
- "numericTest": "less-than",
- "numericValue": 0,
- "stringTest": "equal",
- "stringValue": "string",
- "stringWildcards": true,
- "choiceTest": "equal",
- "choiceValue": "string",
- "firstDateValue": 0,
- "firstDateInclusive": true,
- "lastDateValue": 0,
- "lastDateInclusive": true,
- "nullTest": true,
- "versionTest": "less-than",
- "versionValue": "string",
- "idValue": 0,
- "idTest": "less-than"
}
], - "sortByObjectID": true
}
{- "awsConnectors": [
- {
- "displayName": "string",
- "accountId": "string",
- "accountAlias": "string",
- "accessKey": "string",
- "secretKey": "string",
- "seedRegion": "string",
- "useInstanceRole": true,
- "crossAccountRoleArn": "string",
- "lastSyncTime": 0,
- "syncedRegions": [
- {
- "region": "string",
- "computersSynced": 0,
- "workspacesSynced": 0
}
], - "workspacesEnabled": true,
- "stsRegionalClientEnabled": true,
- "ID": 0
}
]
}