describeNetworkAcls
inline suspend fun Ec2Client.describeNetworkAcls(crossinline block: DescribeNetworkAclsRequest.Builder.() -> Unit): DescribeNetworkAclsResponse
Describes your network ACLs. The default is to describe all your network ACLs. Alternatively, you can specify specific network ACL IDs or filter the results to include only the network ACLs that match specific criteria.
For more information, see Network ACLs in the Amazon VPC User Guide.
Samples
fun main() {
//sampleStart
// This example describes the specified network ACL.
val resp = ec2Client.describeNetworkAcls {
networkAclIds = listOf<String>(
"acl-5fb85d36"
)
}
//sampleEnd
}