@Override
    public CreateBucketAccessKeyResult createBucketAccessKey(CreateBucketAccessKeyRequest request) {
        request = beforeClientExecution(request);
        return executeCreateBucketAccessKey(request);
    }
<p>
Creates a new access key for the specified Amazon Lightsail bucket. Access keys consist of an access key ID and
corresponding secret access key.
</p>
<p>
Access keys grant full programmatic access to the specified bucket and its objects. You can have a maximum of two
access keys per bucket. Use the <a
href="https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetBucketAccessKeys.html"
>GetBucketAccessKeys</a> action to get a list of current access keys for a specific bucket. For more information
about access keys, see <a
href="https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-creating-bucket-access-keys"
>Creating access keys for a bucket in Amazon Lightsail</a> in the <i>Amazon Lightsail Developer Guide</i>.
</p>
<important>
<p>
The <code>secretAccessKey</code> value is returned only in response to the <code>CreateBucketAccessKey</code>
action. You can get a secret access key only when you first create an access key; you cannot get the secret
access key later. If you lose the secret access key, you must create a new access key.
</p>
</important>

@param createBucketAccessKeyRequest
@return Result of the CreateBucketAccessKey operation returned by the service.
@throws AccessDeniedException
        Lightsail throws this exception when the user cannot be authenticated or uses invalid credentials to
        access a resource.
@throws NotFoundException
        Lightsail throws this exception when it cannot find a resource.
@throws InvalidInputException
        Lightsail throws this exception when user input does not conform to the validation rules of an input
        field.</p> <note>
        <p>
        Domain and distribution APIs are only available in the N. Virginia (<code>us-east-1</code>) Amazon Web
        Services Region. Please set your Amazon Web Services Region configuration to <code>us-east-1</code> to
        create, view, or edit these resources.
        </p>
@throws ServiceException
        A general service exception.
@throws UnauthenticatedException
        Lightsail throws this exception when the user has not been authenticated.
@sample AmazonLightsail.CreateBucketAccessKey
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateBucketAccessKey"
     target="_top">AWS API Documentation</a>
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/AmazonLightsailClient.java