@Override
    public UpdateSubnetGroupResult updateSubnetGroup(UpdateSubnetGroupRequest request) {
        request = beforeClientExecution(request);
        return executeUpdateSubnetGroup(request);
    }
<p>
Updates a subnet group. For more information, see <a
href="https://docs.aws.amazon.com/MemoryDB/latest/devguide/ubnetGroups.Modifying.html">Updating a subnet
group</a>
</p>

@param updateSubnetGroupRequest
@return Result of the UpdateSubnetGroup operation returned by the service.
@throws SubnetGroupNotFoundException
@throws SubnetQuotaExceededException
@throws SubnetInUseException
@throws InvalidSubnetException
@throws ServiceLinkedRoleNotFoundException
@throws SubnetNotAllowedException
@sample AmazonMemoryDB.UpdateSubnetGroup
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/memorydb-2021-01-01/UpdateSubnetGroup" target="_top">AWS API
     Documentation</a>
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/AmazonMemoryDBClient.java