Gets the current state of block public access for AMIs at the account level in the specified Amazon Web Services Region.
See https://www.paws-r-sdk.com/docs/ec2_get_image_block_public_access_state/ for full documentation.
ec2_get_image_block_public_access_state(DryRun = NULL)
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.