@Override
    public GetImageBlockPublicAccessStateResult getImageBlockPublicAccessState(GetImageBlockPublicAccessStateRequest request) {
        request = beforeClientExecution(request);
        return executeGetImageBlockPublicAccessState(request);
    }
<p>
Gets the current state of <i>block public access for AMIs</i> at the account level in the specified Amazon Web
Services Region.
</p>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-intro.html#block-public-access-to-amis"
>Block public access to your AMIs</a> in the <i>Amazon EC2 User Guide</i>.
</p>

@param getImageBlockPublicAccessStateRequest
@return Result of the GetImageBlockPublicAccessState operation returned by the service.
@sample AmazonEC2.GetImageBlockPublicAccessState
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/GetImageBlockPublicAccessState"
     target="_top">AWS API Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java