listScopes
abstract suspend fun listScopes(input: ListScopesRequest = ListScopesRequest { }): ListScopesResponse
Lists the scopes in the account. You can filter the results by status and page through them using maxResults and nextToken.
Samples
// Lists the published scopes in the account, one page at a time.
val resp = networkSecurityManagerClient.listScopes {
maxResults = 10
status = EntityStatusFilter.fromValue("ACTIVE")
}Content copied to clipboard