listTemplates
inline suspend fun NetworkSecurityManagerClient.listTemplates(crossinline block: ListTemplatesRequest.Builder.() -> Unit): ListTemplatesResponse
Lists the templates in the account. You can filter the results by status and page through them using maxResults and nextToken.
Samples
// Lists the published templates in the account, one page at a time.
val resp = networkSecurityManagerClient.listTemplates {
maxResults = 10
status = EntityStatusFilter.fromValue("ACTIVE")
}Content copied to clipboard