updateConnector

Updates the description or provider-specific configuration details of an existing connector.

Samples

// Expand the Azure regions covered by a connector
val resp = inspector2Client.updateConnector {
    connectorArn = "arn:aws:inspector2:us-east-1:123456789012:connector/6ccf8549-b52b-57ca-bf52-a2266da3c53a"
    providerDetail = ProviderDetailUpdate.Azure(AzureProviderDetailUpdate {
        azureRegions = listOf<String>(
            "eastus",
            "westus"
        )
    }
    )
}